summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/toolchain.eclass5
2 files changed, 8 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 365553976c1d..184327a2e094 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1127 2014/01/19 21:13:08 moult Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1128 2014/01/24 04:13:58 dirtyepic Exp $
+
+ 24 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass:
+ Work around bug #357287.
19 Jan 2014; Dion Moult <moult@gentoo.org> gtk-sharp-module.eclass:
Change virtual/monodoc dependency to dev-lang/mono as the former is being
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