From: Mike Frysinger Date: Fri, 16 Dec 2011 18:44:34 +0000 (+0000) Subject: --with-abi support for amd64 has not yet been merged into master #394823 by Helmut... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cc01ec825c752bdf4ab207e5addfe8f0e8a2760a;p=gentoo.git --with-abi support for amd64 has not yet been merged into master #394823 by Helmut Jarausch --- 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 @@ -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 ;;