There was an error while loading. Please reload this page.
1 parent 98c011b commit 505016aCopy full SHA for 505016a
2 files changed
configure
configure.ac
@@ -2510,6 +2510,7 @@ if test "$disable_safety" = "no"
2510
then
2511
AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [BASECFLAGS="$BASECFLAGS -fstack-protector-strong"], [AC_MSG_WARN([-fstack-protector-strong not supported])], [-Werror])
2512
AX_CHECK_COMPILE_FLAG([-Wtrampolines], [BASECFLAGS="$BASECFLAGS -Wtrampolines"], [AC_MSG_WARN([-Wtrampolines not supported])], [-Werror])
2513
+ AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=3], [BASECFLAGS="$BASECFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3"], [AC_MSG_WARN([-D_FORTIFY_SOURCE=3 not supported])], [-Werror])
2514
fi
2515
2516
AC_MSG_CHECKING([for --enable-slower-safety])
@@ -2519,7 +2520,6 @@ AC_MSG_RESULT([$enable_slower_safety])
2519
2520
2521
if test "$enable_slower_safety" = "yes"
2522
- AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=3], [BASECFLAGS="$BASECFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3"], [AC_MSG_WARN([-D_FORTIFY_SOURCE=3 not supported])])
2523
2524
2525
case $GCC in
0 commit comments