summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2014-01-24 04:13:58 +0000
committerRyan Hill <dirtyepic@gentoo.org>2014-01-24 04:13:58 +0000
commitb724e0d25c3bcddc84883730aeecaec0de05536b (patch)
treef5716343cbd84cb17db62a65e3811c273ffc3db0 /eclass/toolchain.eclass
parentDisable dumb cross-compiling size check. (diff)
downloadgentoo-2-b724e0d25c3bcddc84883730aeecaec0de05536b.tar.gz
gentoo-2-b724e0d25c3bcddc84883730aeecaec0de05536b.tar.bz2
gentoo-2-b724e0d25c3bcddc84883730aeecaec0de05536b.zip
Work around bug #357287.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index cd214e73a6f9..c2213f914bbc 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.620 2014/01/13 06:02:35 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.621 2014/01/24 04:13:58 dirtyepic Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1245,6 +1245,9 @@ gcc_do_filter_flags() {
case $(tc-arch) in
amd64|x86)
filter-flags '-mcpu=*'
+
+ tc_version_is_between 4.4 4.5 && append-flags -mno-avx # 357287
+
if tc_version_is_between 4.6 4.7 ; then
# https://bugs.gentoo.org/411333
# https://bugs.gentoo.org/466454