summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-12-15 16:00:53 +0100
committerFabian Groffen <grobian@gentoo.org>2016-12-15 16:01:05 +0100
commit19e5c502181d50f98769ad4ccd896e4974f5a2ad (patch)
tree9b5307862204179224472904bf6476f11105f980 /sys-devel
parent547507acedf8bae5995b5731a607cca9400ac5ae (diff)
downloadgentoo-19e5c502181d50f98769ad4ccd896e4974f5a2ad.tar.gz
gentoo-19e5c502181d50f98769ad4ccd896e4974f5a2ad.tar.xz
sys-devel/binutils-apple: fix 7.3.1 on case-sensitive filesystems, bug #601804
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild6
1 files changed, 4 insertions, 2 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 55be11280a7..ec675e41cfc 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
@@ -30,8 +30,8 @@ LICENSE="APSL-2"
KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
IUSE="lto test multitarget"
-# ld64 can now only be compiled using llvm and libc++ since it massivley uses
-# C++11 language fatures. *But additionally* the as driver now defaults to
+# ld64 can now only be compiled using llvm and libc++ since it massively uses
+# C++11 language features. *But additionally* the as driver now defaults to
# calling clang as the assembler on many platforms. This can be disabled using
# -Wa,-Q but since it's default we make llvm a static runtime dependency.
RDEPEND="sys-devel/binutils-config
@@ -65,6 +65,8 @@ src_prepare() {
cd "${S}"/${LD64}/src
cp "${S}"/ld64-136-compile_stubs.h ld/compile_stubs.h
cp "${S}"/ld64-264.3.101-Makefile Makefile
+ # provide right file for case-sensitive filesystems, bug #601804
+ ( cd ld && ln -s {B,b}itcode.hpp >& /dev/null )
epatch "${S}"/ld64-264.3.101-nolto.patch
epatch "${S}"/ld64-241.9-extraneous-includes.patch