================
@@ -935,6 +935,14 @@ ToolChain::getTargetSubDirPath(StringRef BaseDir) const {
   if (auto Path = getPathForTriple(T))
     return *Path;
 
+  // On AIX, the environment component is not used in the target sub dir name.
----------------
jakeegan wrote:

Actually, getRuntimePath already calls getTripleWithoutOSVersion for AIX, but 
it doesn't strip -unknown, so it creates a path like lib/powerpc-ibm-aix-unknown

https://github.com/llvm/llvm-project/pull/140850
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to