summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-22 05:08:29 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-22 05:08:29 +0000
commit6926626a8d3cabb0dc4488d0d97f70fa10eda554 (patch)
tree5dae6d92e4c565c49301b1087cc5dd257f9da04a /eclass
parentmarked x86 per bug 416233 (diff)
downloadgentoo-2-6926626a8d3cabb0dc4488d0d97f70fa10eda554.tar.gz
gentoo-2-6926626a8d3cabb0dc4488d0d97f70fa10eda554.tar.bz2
gentoo-2-6926626a8d3cabb0dc4488d0d97f70fa10eda554.zip
drop x32 support for 4.6.x versions now that we have 4.7.0
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass16
1 files changed, 4 insertions, 12 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 8127779bba6e..8c60978c38dd 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.538 2012/05/18 04:59:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.539 2012/05/22 05:08:29 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -842,12 +842,7 @@ gcc-multilib-configure() {
if [[ -n ${list} ]] ; then
case ${CTARGET} in
x86_64*)
- # 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
- confgcc+=" --with-multilib-list=${list:1}"
- fi
+ tc_version_is_at_least 4.7 && confgcc+=" --with-multilib-list=${list:1}"
;;
esac
fi
@@ -979,7 +974,7 @@ gcc-compiler-configure() {
amd64)
# 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
+ if tc_version_is_at_least 4.7 && has x32 $(get_all_abis) ; then
confgcc+=" --with-abi=$(gcc-abi-map ${DEFAULT_ABI})"
fi
;;
@@ -1925,10 +1920,7 @@ setup_multilib_osdirnames() {
if [[ ${SYMLINK_LIB} == "yes" ]] ; then
einfo "updating multilib directories to be: ${libdirs}"
- # 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
+ if tc_version_is_at_least 4.7 ; then
set -- -e '/^MULTILIB_OSDIRNAMES.*lib32/s:[$][(]if.*):../lib32:'
else
set -- -e "/^MULTILIB_OSDIRNAMES/s:=.*:= ${libdirs}:"