summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-11-07 03:19:00 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-11-07 03:19:00 +0000
commit6a02c3edbe6270ead7c7754419f3602f5531cf48 (patch)
tree9f55db78a10ba78245ca9a6b62e75e7b61465bbc /eclass/toolchain.eclass
parentHarmonize description, make repoman happier (diff)
downloadgentoo-2-6a02c3edbe6270ead7c7754419f3602f5531cf48.tar.gz
gentoo-2-6a02c3edbe6270ead7c7754419f3602f5531cf48.tar.bz2
gentoo-2-6a02c3edbe6270ead7c7754419f3602f5531cf48.zip
Temporarily build with -j1 on sparc due to random ICEs encountered by
multiple people (bug #457062).
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index dbc69d9f542c..84c5cb37151f 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.602 2013/11/05 05:21:30 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.603 2013/11/07 03:19:00 dirtyepic Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1423,9 +1423,15 @@ gcc_do_filter_flags() {
# https://bugs.gentoo.org/454426
append-ldflags -Wl,--no-relax
;;
+ sparc)
+ # temporary workaround for random ICEs reproduced by multiple users
+ # https://bugs.gentoo.org/457062
+ [[ ${GCC_BRANCH_VER} == 4.6 || ${GCC_BRANCH_VER} == 4.7 ]] && \
+ MAKEOPTS+=" -j1"
+ ;;
*-macos)
# http://gcc.gnu.org/PR25127
- [[ ${GCC_BRANCH_VER} == 4.0 || ${GCC_BRANCH_VER} == 4.1 ]] && \
+ [[ ${GCC_BRANCH_VER} == 4.0 || ${GCC_BRANCH_VER} == 4.1 ]] && \
filter-flags '-mcpu=*' '-march=*' '-mtune=*'
;;
esac