summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2017-02-20 18:47:51 -0500
committerJoshua Kinard <kumba@gentoo.org>2017-02-20 18:47:51 -0500
commita5ea247b348158c70205b22b3894437be0addd60 (patch)
tree9fc6939e1ee9b044affcb7e6b186a3dcf37f433a /eclass
parent35b0e5b7a7c17d5205c9d472a4a6b190b0858032 (diff)
downloadgentoo-a5ea247b348158c70205b22b3894437be0addd60.tar.gz
gentoo-a5ea247b348158c70205b22b3894437be0addd60.tar.xz
flag-o-matic.eclass: Add -fno-stack-check to ALLOWED_FLAGS
The -fno-stack-check flag is equivalent to -fstack-check=no, so support both in ALLOWED_FLAGS. Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 57d207b0831..5b8a054079d 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -25,7 +25,7 @@ all-flag-vars() {
setup-allowed-flags() {
ALLOWED_FLAGS=(
-pipe -O '-O[12sg]' -mcpu -march -mtune
- '-fstack-protector*' '-fsanitize*' '-fstack-check*'
+ '-fstack-protector*' '-fsanitize*' '-fstack-check*' -fno-stack-check
-fbounds-check -fbounds-checking -fno-strict-overflow
-fno-PIE -fno-pie -nopie -no-pie -fno-unit-at-a-time
-g '-g[0-9]' -ggdb '-ggdb[0-9]' '-gdwarf-*' gstabs -gstabs+