summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-03-17 02:00:13 +0000
committerMike Gilbert <floppym@gentoo.org>2015-03-17 02:00:13 +0000
commit82d8af07d471847ca365ad9a69409f82aa3fc6cd (patch)
treebec346d8b8ebdeff85952d03f2142d2fab8ccc7c /sys-boot/grub/grub-2.00_p5107-r2.ebuild
parentVersion bump. Import live git ebuild from overlay. (diff)
downloadhistorical-82d8af07d471847ca365ad9a69409f82aa3fc6cd.tar.gz
historical-82d8af07d471847ca365ad9a69409f82aa3fc6cd.tar.bz2
historical-82d8af07d471847ca365ad9a69409f82aa3fc6cd.zip
We need to set TARGET_LDFLAGS, not LDFLAGS.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'sys-boot/grub/grub-2.00_p5107-r2.ebuild')
-rw-r--r--sys-boot/grub/grub-2.00_p5107-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-boot/grub/grub-2.00_p5107-r2.ebuild b/sys-boot/grub/grub-2.00_p5107-r2.ebuild
index e94530f912da..719d25a0ed1b 100644
--- a/sys-boot/grub/grub-2.00_p5107-r2.ebuild
+++ b/sys-boot/grub/grub-2.00_p5107-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00_p5107-r2.ebuild,v 1.10 2015/03/16 21:39:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00_p5107-r2.ebuild,v 1.11 2015/03/17 02:00:07 floppym Exp $
EAPI=5
@@ -222,6 +222,9 @@ src_configure() {
use static && export HOST_LDFLAGS="${HOST_LDFLAGS} -static"
tc-ld-disable-gold #439082 #466536 #526348
+ export TARGET_LDFLAGS=${LDFLAGS}
+ unset LDFLAGS
+
tc-export CC NM OBJCOPY STRIP
export TARGET_CC=${TARGET_CC:-${CC}}
tc-export BUILD_CC # Bug 485592