diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 20:16:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 20:16:37 +0000 |
commit | 1e703d684a92537ee872a2579bfc7eb4446ae9bc (patch) | |
tree | 60b3b3e608bdf62426353ddd6a272aa9347dd28d /sys-libs | |
parent | Fixed bug #173398 again, thanks to Matteo Azzali. (diff) | |
download | gentoo-2-1e703d684a92537ee872a2579bfc7eb4446ae9bc.tar.gz gentoo-2-1e703d684a92537ee872a2579bfc7eb4446ae9bc.tar.bz2 gentoo-2-1e703d684a92537ee872a2579bfc7eb4446ae9bc.zip |
when doing a cross-compile, make sure target CFLAGS arent used for the native build
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2007c.ebuild | 4 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2007d.ebuild | 4 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2007e.ebuild | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-libs/timezone-data/timezone-data-2007c.ebuild b/sys-libs/timezone-data/timezone-data-2007c.ebuild index 202f0bd5c606..cd29da3586b4 100644 --- a/sys-libs/timezone-data/timezone-data-2007c.ebuild +++ b/sys-libs/timezone-data/timezone-data-2007c.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007c.ebuild,v 1.10 2007/03/13 22:14:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007c.ebuild,v 1.11 2007/04/07 20:16:37 vapier Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -37,7 +37,7 @@ src_compile() { fi emake || die "emake failed" if tc-is-cross-compiler ; then - make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die + make -C "${S}"-native CC=$(tc-getBUILD_CC) CFLAGS="${BUILD_CFLAGS}" zic || die fi } diff --git a/sys-libs/timezone-data/timezone-data-2007d.ebuild b/sys-libs/timezone-data/timezone-data-2007d.ebuild index 2fbf77906e84..f6ab25ebbee6 100644 --- a/sys-libs/timezone-data/timezone-data-2007d.ebuild +++ b/sys-libs/timezone-data/timezone-data-2007d.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007d.ebuild,v 1.1 2007/03/24 07:17:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007d.ebuild,v 1.2 2007/04/07 20:16:37 vapier Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -37,7 +37,7 @@ src_compile() { fi emake || die "emake failed" if tc-is-cross-compiler ; then - make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die + make -C "${S}"-native CC=$(tc-getBUILD_CC) CFLAGS="${BUILD_CFLAGS}" zic || die fi } diff --git a/sys-libs/timezone-data/timezone-data-2007e.ebuild b/sys-libs/timezone-data/timezone-data-2007e.ebuild index 93e4fe5056f0..84c19f26c5da 100644 --- a/sys-libs/timezone-data/timezone-data-2007e.ebuild +++ b/sys-libs/timezone-data/timezone-data-2007e.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007e.ebuild,v 1.1 2007/04/02 20:46:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007e.ebuild,v 1.2 2007/04/07 20:16:37 vapier Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -37,7 +37,7 @@ src_compile() { fi emake || die "emake failed" if tc-is-cross-compiler ; then - make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die + make -C "${S}"-native CC=$(tc-getBUILD_CC) CFLAGS="${BUILD_CFLAGS}" zic || die fi } |