From a5ea247b348158c70205b22b3894437be0addd60 Mon Sep 17 00:00:00 2001 From: Joshua Kinard Date: Mon, 20 Feb 2017 18:47:51 -0500 Subject: [PATCH] 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 --- 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 57d207b08313..5b8a054079d2 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+ -- 2.26.2