summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-12-28 09:12:39 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-12-28 09:12:39 +0000
commit38cd43a49f0e9300c44f0a330fc350acadca538c (patch)
tree0e72707a3aad686270ed7f40ef2e5c2f869de305 /eclass
parentUse version ranges instead of case statements in gcc_do_filter_flags(). (diff)
downloadgentoo-2-38cd43a49f0e9300c44f0a330fc350acadca538c.tar.gz
gentoo-2-38cd43a49f0e9300c44f0a330fc350acadca538c.tar.bz2
gentoo-2-38cd43a49f0e9300c44f0a330fc350acadca538c.zip
Missed one.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/toolchain.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 0a0b59404ecc..5878143c0545 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1097 2013/12/28 08:52:36 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1098 2013/12/28 09:12:39 dirtyepic Exp $
+
+ 28 Dec 2013; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass:
+ Missed one.
28 Dec 2013; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass:
Use version ranges instead of case statements in gcc_do_filter_flags().
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 506e89a34491..5411efb23e9d 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.614 2013/12/28 08:52:36 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.615 2013/12/28 09:12:39 dirtyepic Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -958,7 +958,7 @@ toolchain_src_configure() {
--disable-__cxa_atexit
$(use_enable nptl tls)
)
- [[ ${GCCMAJOR}.${GCCMINOR} == 3.3 ]] && confgcc+=( --enable-sjlj-exceptions )
+ tc_version_is_between 3.3 3.4 && confgcc+=( --enable-sjlj-exceptions )
if tc_version_is_between 3.4 4.3 ; then
confgcc+=( --enable-clocale=uclibc )
fi