summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2014-02-01 18:52:32 +0000
committerRyan Hill <dirtyepic@gentoo.org>2014-02-01 18:52:32 +0000
commitf3028268c0eeb3942b86603921b241ac0185578a (patch)
treed657238842bb205766a279426c4bab864a4903bd /eclass
parentP.use.mask net-misc/openssh hpn as it sigbuses, bug #499552 (diff)
downloadgentoo-2-f3028268c0eeb3942b86603921b241ac0185578a.tar.gz
gentoo-2-f3028268c0eeb3942b86603921b241ac0185578a.tar.bz2
gentoo-2-f3028268c0eeb3942b86603921b241ac0185578a.zip
Add -fdiagnostics* and ISA flags for 4.8 and 4.9.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/flag-o-matic.eclass9
2 files changed, 11 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 8d418747c56b..ae9c49de1f6f 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.1133 2014/01/26 10:59:07 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1134 2014/02/01 18:52:32 dirtyepic Exp $
+
+ 01 Feb 2014; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+ Add -fdiagnostics* and ISA flags for 4.8 and 4.9.
26 Jan 2014; Sergey Popov <pinkbyte@gentoo.org> myspell-r2.eclass:
Drop inheriting base eclass, wrt bug #497040
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 7678708b9665..b502a89b8476 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 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.195 2013/12/28 00:25:53 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.196 2014/02/01 18:52:32 dirtyepic Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -30,6 +30,7 @@ setup-allowed-flags() {
ALLOWED_FLAGS+=" -fno-PIE -fno-pie -fno-unit-at-a-time"
ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
+ ALLOWED_FLAGS+=" -fdiagnostics*"
ALLOWED_FLAGS+=" -W* -w"
# allow a bunch of flags that negate features / control ABI
@@ -54,6 +55,10 @@ setup-allowed-flags() {
ALLOWED_FLAGS+=" -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-bmi -mno-tbm"
# 4.7
ALLOWED_FLAGS+=" -mno-avx2 -mno-bmi2 -mno-fma -mno-lzcnt"
+ # 4.8
+ ALLOWED_FLAGS+="-mno-fxsr -mno-rtm -mno-xsave -mno-xsaveopt"
+ # 4.9
+ ALLOWED_FLAGS+="-mno-avx512cd -mno-avx512er -mno-avx512f -mno-avx512pf -mno-sha"
# CPPFLAGS and LDFLAGS
ALLOWED_FLAGS+=" -I* -L* -R* -Wl,*"