[clang] [Clang][VE] Correct rpath handling on VE (PR #67671)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 28 10:28:43 PDT 2023


================
@@ -882,11 +882,8 @@ void tools::addOpenMPRuntimeLibraryPath(const ToolChain &TC,
 
 void tools::addArchSpecificRPath(const ToolChain &TC, const ArgList &Args,
                                  ArgStringList &CmdArgs) {
-  // Enable -frtlib-add-rpath by default for the case of VE.
-  const bool IsVE = TC.getTriple().isVE();
----------------
MaskRay wrote:

thx for removing the special case!

(I'd have suggested not having it in the first place if i had seen https://reviews.llvm.org/D79411 )

https://github.com/llvm/llvm-project/pull/67671


More information about the cfe-commits mailing list