configure: also check if compiler supports _FORTIFY_SOURCE=2.
This commit is contained in:
parent
05c28b4a6c
commit
cdecb7f793
2
configure
vendored
2
configure
vendored
@ -256,7 +256,7 @@ if [ $? -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "CPPFLAGS += -D_FORTIFY_SOURCE=2" >>$CONFIG_MK
|
check_compiler_flag "_FORTIFY_SOURCE=2" D
|
||||||
fi
|
fi
|
||||||
check_compiler_flag "visibility=default" f SHAREDLIB_CFLAGS
|
check_compiler_flag "visibility=default" f SHAREDLIB_CFLAGS
|
||||||
check_compiler_flag "std=c99"
|
check_compiler_flag "std=c99"
|
||||||
|
Loading…
Reference in New Issue
Block a user