summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2011-02-01 05:41:30 +0000
committerRyan Hill <rhill@gentoo.org>2011-02-01 05:41:30 +0000
commit71001caf18c713fbec92c282529fb3177008a962 (patch)
tree82e4600b7a329e9720bf17d63d4fc8251d4ce85e /eclass
parentAdded latest upstream release, closes bug 351578. (diff)
downloadhistorical-71001caf18c713fbec92c282529fb3177008a962.tar.gz
historical-71001caf18c713fbec92c282529fb3177008a962.tar.bz2
historical-71001caf18c713fbec92c282529fb3177008a962.zip
Add -mfloat-gprs, -mspe, and -mno-spe for bug #353008 and new flags for 4.6.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index c4250e56162a..1d9965ac3af1 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.148 2010/05/08 03:47:41 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.149 2011/02/01 05:41:30 dirtyepic Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -48,7 +48,7 @@ setup-allowed-flags() {
-mno-popcnt -mno-abm \
-mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -mplt \
-msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu \
- -mieee -mieee-with-inexact -mschedule \
+ -mieee -mieee-with-inexact -mschedule -mfloat-gprs -mspe -mno-spe \
-mtls-direct-seg-refs -mno-tls-direct-seg-refs \
-mflat -mno-flat -mno-faster-structs -mfaster-structs \
-m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \
@@ -57,6 +57,9 @@ setup-allowed-flags() {
# 4.5
ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fma4 -mno-movbe -mno-xop -mno-lwp"
+ # 4.6
+ ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fsgsbase -mno-rdrnd -mno-f16c \
+ -mno-bmi -mno-tbm"
# {C,CXX,F,FC}FLAGS that we are think is ok, but needs testing
# NOTE: currently -Os have issues with gcc3 and K6* arch's