diff options
Diffstat (limited to 'sys-firmware/sgabios/sgabios-0.1_pre8.ebuild')
-rw-r--r-- | sys-firmware/sgabios/sgabios-0.1_pre8.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild b/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild index fa57261bf177..5fc5b3524b7d 100644 --- a/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild +++ b/sys-firmware/sgabios/sgabios-0.1_pre8.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-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.6 2015/03/16 21:17:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.7 2015/07/07 07:20:06 vapier Exp $ EAPI=4 @@ -19,13 +19,19 @@ IUSE="" src_prepare() { epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-build-cc.patch #552280 epatch_user } src_compile() { if use amd64 || use x86 ; then tc-ld-disable-gold + tc-export_build_env BUILD_CC emake \ + BUILD_CC="${BUILD_CC}" \ + BUILD_CFLAGS="${BUILD_CFLAGS}" \ + BUILD_LDFLAGS="${BUILD_LDFLAGS}" \ + BUILD_CPPFLAGS="${BUILD_CPPFLAGS}" \ CC="$(tc-getCC)" \ LD="$(tc-getLD)" \ AR="$(tc-getAR)" \ |