summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-16 18:44:34 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-16 18:44:34 +0000
commitcc01ec825c752bdf4ab207e5addfe8f0e8a2760a (patch)
tree5aa004a2bbeab98f540c42dc11104b83df55a830 /eclass/toolchain.eclass
parentBump to eapi4, fix bug 394935 (diff)
downloadhistorical-cc01ec825c752bdf4ab207e5addfe8f0e8a2760a.tar.gz
historical-cc01ec825c752bdf4ab207e5addfe8f0e8a2760a.tar.bz2
historical-cc01ec825c752bdf4ab207e5addfe8f0e8a2760a.zip
--with-abi support for amd64 has not yet been merged into master #394823 by Helmut Jarausch
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 34c4dfc33ad7..d4d8c3efca53 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.513 2011/12/15 20:42:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.514 2011/12/16 18:44:34 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -964,10 +964,9 @@ gcc-compiler-configure() {
confgcc+=" --with-abi=$(gcc-abi-map ${DEFAULT_ABI})"
;;
amd64)
- # drop the 4.6.2 stuff once 4.7 goes stable
- if tc_version_is_at_least 4.7 ||
- ( tc_version_is_at_least 4.6.2 && has x32 $(get_all_abis) )
- then
+ # drop the older/ABI checks once this get's merged into some
+ # version of gcc upstream
+ if [[ ${PV} == "4.6.2" ]] && has x32 $(get_all_abis) ; then
confgcc+=" --with-abi=$(gcc-abi-map ${DEFAULT_ABI})"
fi
;;