summaryrefslogtreecommitdiff
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
commitad636c75cb18f93b43686dd157a034efed3091b1 (patch)
tree8f362df10ef0258ec29ea1eef2c7999a4a0652ae /eclass/toolchain.eclass
parentMarked ~ppc for bug #83706. (diff)
downloadhistorical-ad636c75cb18f93b43686dd157a034efed3091b1.tar.gz
historical-ad636c75cb18f93b43686dd157a034efed3091b1.tar.bz2
historical-ad636c75cb18f93b43686dd157a034efed3091b1.zip
Use ABI's CFLAGS for BOOT_CFLAGS so stage2/3 generate code for the right ABI.
Diffstat (limited to 'eclass/toolchain.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