From b5e599611a10c040c3f631445c09e523746169fc Mon Sep 17 00:00:00 2001 From: Magnus Granberg Date: Fri, 18 Jun 2010 10:13:17 +0000 Subject: [PATCH] Move IUSE SPECS_VER and nossp to gcc 4.4 --- eclass/toolchain.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 2db2045c4e2b..9d6239317367 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.428 2010/06/18 01:03:12 zorry Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.429 2010/06/18 10:13:17 zorry Exp $ # # Maintainer: Toolchain Ninjas @@ -159,7 +159,10 @@ else tc_version_is_at_least "4.1" && IUSE="${IUSE} objc++" tc_version_is_at_least "4.2" && IUSE="${IUSE} openmp" tc_version_is_at_least "4.3" && IUSE="${IUSE} fixed-point" - tc_version_is_at_least "4.4" && IUSE="${IUSE} graphite" + if tc_version_is_at_least "4.4" ; then + IUSE="${IUSE} graphite" + [[ -n ${SPECS_VER} ]] && IUSE="${IUSE} nossp" + fi tc_version_is_at_least "4.5" && IUSE="${IUSE} lto" fi fi -- 2.26.2