From: Joshua Kinard Date: Mon, 20 Feb 2017 23:47:51 +0000 (-0500) Subject: flag-o-matic.eclass: Add -fno-stack-check to ALLOWED_FLAGS X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a5ea247b348158c70205b22b3894437be0addd60;p=gentoo.git 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 --- 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+