[PATCH] D30700: [Driver] Always add arch-specific-subdir to -rpath

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 7 10:12:14 PST 2017


rnk added a comment.

Can you add a flag pair to control the insertion of rpath into the final binary? As things are currently, clang is basically leaking paths from the machine doing the linking into the final binary, which often will not run on the same machine. I was thinking `-f[no-]compiler-rt-rpath` or something, but openmp is not part of compiler-rt. Name recommendations welcome. We might also want to reconsider the default setting.


https://reviews.llvm.org/D30700





More information about the cfe-commits mailing list