summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-19 18:07:38 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-19 20:10:19 +0200
commit60d43626dcce4238ca0227752fd94ee9a74d8901 (patch)
treec97677cf7da49c15a8099c6189cad1a347e088f0 /sys-devel/clang/clang-10.0.1.9999.ebuild
parentsys-devel/llvm: Patch bad dylib linking in 10.0.1* (diff)
downloadgentoo-60d43626dcce4238ca0227752fd94ee9a74d8901.tar.gz
gentoo-60d43626dcce4238ca0227752fd94ee9a74d8901.tar.bz2
gentoo-60d43626dcce4238ca0227752fd94ee9a74d8901.zip
sys-devel/clang: Fix bad dylib linking in 10.0.1*
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/clang/clang-10.0.1.9999.ebuild')
-rw-r--r--sys-devel/clang/clang-10.0.1.9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-10.0.1.9999.ebuild b/sys-devel/clang/clang-10.0.1.9999.ebuild
index 6f913045c09..874112003a9 100644
--- a/sys-devel/clang/clang-10.0.1.9999.ebuild
+++ b/sys-devel/clang/clang-10.0.1.9999.ebuild
@@ -71,6 +71,12 @@ CMAKE_BUILD_TYPE=RelWithDebInfo
# Therefore: use sys-devel/clang[${MULTILIB_USEDEP}] only if you need
# multilib clang* libraries (not runtime, not wrappers).
+PATCHES=(
+ # fix simultaneous linking to .a and dylib
+ "${FILESDIR}"/10.0.1/0003-clang-tools-extra-Prevent-linking-to-duplicate-.a-li.patch
+ "${FILESDIR}"/10.0.1/0004-clang-Avoid-linking-c-index-test-to-duplicate-librar.patch
+)
+
pkg_setup() {
LLVM_MAX_SLOT=${SLOT} llvm_pkg_setup
python-single-r1_pkg_setup