summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-01 17:23:42 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-02 00:40:43 +0100
commit3f7b543082fa986823d08a1df44eb8bf634f10df (patch)
treeef9826bb3e3774ce2009bfedf7d042bf86770987 /sys-devel/llvm/llvm-5.0.1_rc2.ebuild
parentsys-devel/clang-runtime: Bump to 5.0.1_rc2 (diff)
downloadgentoo-3f7b543082fa986823d08a1df44eb8bf634f10df.tar.gz
gentoo-3f7b543082fa986823d08a1df44eb8bf634f10df.tar.bz2
gentoo-3f7b543082fa986823d08a1df44eb8bf634f10df.zip
sys-devel/llvm: Backport unloading prevention fix
Bug: https://bugs.gentoo.org/617154
Diffstat (limited to 'sys-devel/llvm/llvm-5.0.1_rc2.ebuild')
-rw-r--r--sys-devel/llvm/llvm-5.0.1_rc2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/llvm/llvm-5.0.1_rc2.ebuild b/sys-devel/llvm/llvm-5.0.1_rc2.ebuild
index 374656b01b23..42978ec5cce1 100644
--- a/sys-devel/llvm/llvm-5.0.1_rc2.ebuild
+++ b/sys-devel/llvm/llvm-5.0.1_rc2.ebuild
@@ -75,6 +75,10 @@ src_prepare() {
# https://bugs.gentoo.org/show_bug.cgi?id=565358
eapply "${FILESDIR}"/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
+ # Backport the fix for dlclose() causing option parser mess
+ # e.g. https://bugs.gentoo.org/617154
+ eapply "${FILESDIR}"/5.0.1/0001-cmake-Pass-Wl-z-nodelete-on-Linux-to-prevent-unloadi.patch
+
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die