summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-10-27 07:21:05 +0000
committerMichał Górny <mgorny@gentoo.org>2013-10-27 07:21:05 +0000
commit87e31132a5378515c3cfbcab359130dd3721fda0 (patch)
treedfcd02b74fdc9641ad865dd5c5fc8bbc0d4a1abc /eclass/flag-o-matic.eclass
parentVersion bump. (diff)
downloadgentoo-2-87e31132a5378515c3cfbcab359130dd3721fda0.tar.gz
gentoo-2-87e31132a5378515c3cfbcab359130dd3721fda0.tar.bz2
gentoo-2-87e31132a5378515c3cfbcab359130dd3721fda0.zip
Consider -frecord-gcc-switches a safe flag and do not strip it with strip-flags.
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 84dd5ccb01a7..798c42839318 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.190 2013/10/12 19:50:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.191 2013/10/27 07:21:05 mgorny Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -29,7 +29,7 @@ setup-allowed-flags() {
ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
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"
+ ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
ALLOWED_FLAGS+=" -W* -w"
# allow a bunch of flags that negate features / control ABI