summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-01 23:44:01 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-02 00:27:14 +0200
commit820ddda479ca64b00b0d33a5fc3b4356275dcc50 (patch)
treee00695c292574b2a721cf7aed04b170494b91a22
parentmedia-libs/libogg: stable 1.3.3 for ppc64, bug #648066 (diff)
downloadgentoo-820ddda479ca64b00b0d33a5fc3b4356275dcc50.tar.gz
gentoo-820ddda479ca64b00b0d33a5fc3b4356275dcc50.tar.bz2
gentoo-820ddda479ca64b00b0d33a5fc3b4356275dcc50.zip
sys-devel/llvm: Backport -Wl,-rpath FreeBSD fix to 5.0.1
-rw-r--r--sys-devel/llvm/llvm-5.0.1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-devel/llvm/llvm-5.0.1.ebuild b/sys-devel/llvm/llvm-5.0.1.ebuild
index 657a0ba9c452..a0287445e0de 100644
--- a/sys-devel/llvm/llvm-5.0.1.ebuild
+++ b/sys-devel/llvm/llvm-5.0.1.ebuild
@@ -83,6 +83,9 @@ src_prepare() {
# Copy the new binary file (we don't support git binary patches)
cp {"${WORKDIR}/${P}-patchset",.}/test/tools/llvm-symbolizer/Inputs/print_context.o || die
+ # Fix appending -Wl,-rpath-link on non-Linux (-> FreeBSD).
+ eapply "${FILESDIR}"/6.0.9999/0001-cmake-Append-Wl-rpath-link-conditionally-to-GNULD.patch
+
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die