summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-07-22 01:26:33 +0000
committerRyan Hill <rhill@gentoo.org>2010-07-22 01:26:33 +0000
commit1ffb9369bcbcf210c88ea01c3ec1cca7d66baf50 (patch)
treeba3a6eab247ac4a91c2cc0be54bd902a04c84a71 /eclass
parentversion bump; remove bogus libggz dep (bug #317859) (diff)
downloadhistorical-1ffb9369bcbcf210c88ea01c3ec1cca7d66baf50.tar.gz
historical-1ffb9369bcbcf210c88ea01c3ec1cca7d66baf50.tar.bz2
historical-1ffb9369bcbcf210c88ea01c3ec1cca7d66baf50.zip
Move outside of 4.0 test so older versions still work properly.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass16
1 files changed, 8 insertions, 8 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index d5510c277f8a..06664484aae0 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.435 2010/07/21 20:19:57 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.436 2010/07/22 01:26:33 dirtyepic Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1166,14 +1166,14 @@ gcc-compiler-configure() {
if tc_version_is_at_least "4.4" ; then
confgcc="${confgcc} --with-python-dir=${DATAPATH/$PREFIX/}/python"
fi
+ fi
- # For newer versions of gcc, use the default ("release"), because no
- # one (even upstream apparently) tests with it disabled. #317217
- if tc_version_is_at_least 4 || [[ -n ${GCC_CHECKS_LIST} ]] ; then
- confgcc="${confgcc} --enable-checking=${GCC_CHECKS_LIST:-release}"
- else
- confgcc="${confgcc} --disable-checking"
- fi
+ # For newer versions of gcc, use the default ("release"), because no
+ # one (even upstream apparently) tests with it disabled. #317217
+ if tc_version_is_at_least 4 || [[ -n ${GCC_CHECKS_LIST} ]] ; then
+ confgcc="${confgcc} --enable-checking=${GCC_CHECKS_LIST:-release}"
+ else
+ confgcc="${confgcc} --disable-checking"
fi
# GTK+ is preferred over xlib in 3.4.x (xlib is unmaintained