diff options
Diffstat (limited to 'app-emulation/virtualbox/virtualbox-5.0.16.ebuild')
-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." |