[clang] [driver] return immediately in `addArchSpecificRPath` and `getArchSpecificLibPaths` on AIX (PR #134520)
Daniel Chen via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 28 11:23:38 PDT 2025
================
@@ -1252,6 +1252,9 @@ void tools::addArchSpecificRPath(const ToolChain &TC, const ArgList &Args,
options::OPT_fno_rtlib_add_rpath, false))
return;
+ if (TC.getTriple().isOSAIX()) // AIX doesn't support -rpath option.
----------------
DanielCChen wrote:
Right. Will change to the suggestion.
https://github.com/llvm/llvm-project/pull/134520
More information about the cfe-commits
mailing list