diff options
author | PPed72 <paolo.pedroni@iol.it> | 2016-03-07 14:39:26 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-07 15:51:43 +0100 |
commit | 82049238b1004c9715b574014e1c257924fe0f72 (patch) | |
tree | 25b79c052f842cb213d788f99585c0f31ff32c49 /app-emulation/virtualbox | |
parent | app-emulation/virtualbox: Bumped ebuild to EAPI-6. (diff) | |
download | gentoo-82049238b1004c9715b574014e1c257924fe0f72.tar.gz gentoo-82049238b1004c9715b574014e1c257924fe0f72.tar.bz2 gentoo-82049238b1004c9715b574014e1c257924fe0f72.zip |
app-emulation/virtualbox: force usage of ld.bfd for virtualbox-5
See Gentoo bug #488176
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/virtualbox-5.0.16.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/virtualbox-5.0.16.ebuild b/app-emulation/virtualbox/virtualbox-5.0.16.ebuild index 6dca89bb4b4d..f08a021bc135 100644 --- a/app-emulation/virtualbox/virtualbox-5.0.16.ebuild +++ b/app-emulation/virtualbox/virtualbox-5.0.16.ebuild @@ -132,6 +132,10 @@ pkg_setup() { fi java-pkg-opt-2_pkg_setup python-single-r1_pkg_setup + + tc-ld-disable-gold #bug 488176 + tc-export CC CXX LD AR RANLIB + export HOST_CC="$(tc-getBUILD_CC)" } src_prepare() { @@ -146,6 +150,10 @@ src_prepare() { sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \ -i Config.kmk src/libs/xpcom18a4/Config.kmk || die + # Do not use hard-coded ld (related to bug #488176) + sed -e '/QUIET)ld /s@ld @$(LD) @' \ + -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die + # Use PAM only when pam USE flag is enbaled (bug #376531) if ! use pam ; then elog "Disabling PAM removes the possibility to use the VRDP features." |