commit:     a5ea247b348158c70205b22b3894437be0addd60
Author:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 23:47:51 2017 +0000
Commit:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 23:47:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ea247b

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 <AT> gentoo.org>

 eclass/flag-o-matic.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 57d207b083..5b8a054079 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+

Reply via email to