Fallback to -fstack-protector if -strong is not supported.

This commit is contained in:
Juan RP
2014-12-31 08:55:09 +01:00
parent eee895c6d8
commit 65f9a43b5e
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -271,7 +271,7 @@ check_compiler_flag "inline-functions" f CFLAGS
check_compiler_flag stack-protector-strong f CFLAGS
if [ $? -ne 0 ]; then
check_compiler_flag stack-protector-all f CFLAGS
check_compiler_flag stack-protector f CFLAGS
if [ $? -eq 0 ]; then
if [ "$CC" = "gcc" ]; then
check_compiler_flag "param ssp-buffer-size=1" - CFLAGS