File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1015,12 +1015,7 @@ ToolChain::path_list ToolChain::getArchSpecificLibPaths() const {
10151015 Paths.push_back (std::string (Path));
10161016 };
10171017
1018- // For AIX, get the triple without the OS version.
1019- if (Triple.isOSAIX ()) {
1020- const llvm::Triple &TripleWithoutVersion = getTripleWithoutOSVersion ();
1021- AddPath ({TripleWithoutVersion.str ()});
1022- } else
1023- AddPath ({getTriple ().str ()});
1018+ AddPath ({getTriple ().str ()});
10241019 AddPath ({getOSLibName (), llvm::Triple::getArchTypeName (getArch ())});
10251020 return Paths;
10261021}
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ class LLVM_LIBRARY_VISIBILITY AIX : public ToolChain {
9898 return llvm::DebuggerKind::DBX;
9999 }
100100
101+ path_list getArchSpecificLibPaths () const override { return path_list (); };
102+
101103protected:
102104 Tool *buildAssembler () const override ;
103105 Tool *buildLinker () const override ;
You can’t perform that action at this time.
0 commit comments