[PATCH] D43751: [cmake] Append -Wl, -rpath-link conditionally to GNULD

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 14:25:03 PST 2018


emaste added a comment.

In https://reviews.llvm.org/D43751#1031350, @mgorny wrote:

> Thanks for the review. As for the `-Wl,-z,origin` part, I'd rather leave that alone unless we have a clear indication that either it is not necessary for any of the supported FreeBSD and DragonFly BSD versions, or that it can be passed unconditionally without breaking any of the supported systems (and which linkers accept it).


I checked and it seems FreeBSD 10 (still supported) needs it, 11.x and later does not.
Details are in the commit at https://reviews.freebsd.org/rS282109


Repository:
  rL LLVM

https://reviews.llvm.org/D43751





More information about the llvm-commits mailing list