summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-01-01 14:15:51 +0100
committerFabian Groffen <grobian@gentoo.org>2017-01-01 14:16:38 +0100
commit6407ad21bb14a7dc0e62c90084ce6a743715c27a (patch)
treea065173ba0f4ec9a5e47c96b137fafea4bd15458 /sys-devel/binutils-apple
parentmedia-libs/x265: ppc stable wrt bug #570878 (diff)
downloadgentoo-6407ad21bb14a7dc0e62c90084ce6a743715c27a.tar.gz
gentoo-6407ad21bb14a7dc0e62c90084ce6a743715c27a.tar.bz2
gentoo-6407ad21bb14a7dc0e62c90084ce6a743715c27a.zip
sys-devel/binutils-apple: workaround llvm-3.9.{0,1} bug
Package-Manager: portage-2.2.28-prefix
Diffstat (limited to 'sys-devel/binutils-apple')
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
index 2d54d8cac28e..9eb28b9e60ef 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -78,6 +78,12 @@ src_prepare() {
epatch "${S}"/ld64-241.9-cc_md5.patch
epatch "${S}"/ld64-264.3.102-bitcode-case.patch
+ # workound llvm-3.9.{0,1} issue
+ # https://bugs.gentoo.org/show_bug.cgi?id=603580
+ # https://groups.google.com/forum/#!topic/llvm-dev/JY6nuKE__sU
+ # http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160829/169553.html
+ sed -i -e '/COMPILE_TIME_ASSERT/d' ld/parsers/libunwind/*.hpp || die
+
# provide missing headers from libunwind and dyld
mkdir -p include/{mach,mach-o/arm} || die
# never present because it's private