summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-10-11 04:42:55 +0000
committerTravis Tilley <lv@gentoo.org>2004-10-11 04:42:55 +0000
commita12b547dcc669a7306f4d985fabe49bc467dc7d9 (patch)
treefe561118f73b58160d8d08e7c19a168164431642 /eclass
parentfixing the digest even if noone complained in the past 7 weeks ;) (Manifest r... (diff)
downloadgentoo-2-a12b547dcc669a7306f4d985fabe49bc467dc7d9.tar.gz
gentoo-2-a12b547dcc669a7306f4d985fabe49bc467dc7d9.tar.bz2
gentoo-2-a12b547dcc669a7306f4d985fabe49bc467dc7d9.zip
we dont want to use the installed compilers' specs to build gcc!
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index c6301dba50ff..97c4bd74e946 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.28 2004/10/11 04:21:54 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.29 2004/10/11 04:42:55 lv Exp $
#
# This eclass should contain general toolchain-related functions that are
# expected to not change, or change much.
@@ -120,6 +120,9 @@ gcc-compiler-pkg_setup() {
eerror "Please enable multilib if you want to use both n32 & n64";
die "Invalid USE flag combination";
fi
+
+ # we dont want to use the installed compiler's specs to build gcc!
+ unset GCC_SPECS || :
}
gcc-library-pkg_setup() {