summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-06 00:00:41 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-06 00:00:41 +0000
commit686824edd5987d8d36f9ca7497900bce26cf3cca (patch)
tree54d6611dc2d15c146b63c2af3c00c55aed89b8b3 /eclass
parentMarked ~ppc for bug #83706. (diff)
downloadgentoo-2-686824edd5987d8d36f9ca7497900bce26cf3cca.tar.gz
gentoo-2-686824edd5987d8d36f9ca7497900bce26cf3cca.tar.bz2
gentoo-2-686824edd5987d8d36f9ca7497900bce26cf3cca.zip
Use ABI's CFLAGS for BOOT_CFLAGS so stage2/3 generate code for the right ABI.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5b198ac6eb34..2becc266a791 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.120 2005/03/04 17:51:25 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.121 2005/03/06 00:00:41 eradicator Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1084,7 +1084,7 @@ gcc_do_make() {
else
# we only want to use the system's CFLAGS if not building a
# cross-compiler.
- BOOT_CFLAGS=${BOOT_CFLAGS-${CFLAGS}}
+ BOOT_CFLAGS=${BOOT_CFLAGS-"$(get_abi_CFLAGS) ${CFLAGS}"}
fi
# Fix for libtool-portage.patch