Skip to content

Commit

Permalink
flag-o-matic.eclass: Add -fno-stack-check to ALLOWED_FLAGS
Browse files Browse the repository at this point in the history
The -fno-stack-check flag is equivalent to -fstack-check=no, so
support both in ALLOWED_FLAGS.

Signed-off-by: Joshua Kinard <[email protected]>
  • Loading branch information
Kumba42 committed Feb 20, 2017
1 parent 35b0e5b commit a5ea247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/flag-o-matic.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down

0 comments on commit a5ea247

Please sign in to comment.