summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2011-02-01 05:41:30 +0000
committerRyan Hill <dirtyepic@gentoo.org>2011-02-01 05:41:30 +0000
commit282e3cf6a821996cb0422ef462694922bbac5058 (patch)
tree36890b45e69c754ef3878a0a627e515bed7d3167
parentAdded latest upstream release, closes bug 351578. (diff)
downloadgentoo-2-282e3cf6a821996cb0422ef462694922bbac5058.tar.gz
gentoo-2-282e3cf6a821996cb0422ef462694922bbac5058.tar.bz2
gentoo-2-282e3cf6a821996cb0422ef462694922bbac5058.zip
Add -mfloat-gprs, -mspe, and -mno-spe for bug #353008 and new flags for 4.6.
-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