Check that -D_FORTIFY_SOURCE=2 doesn't trigger a compiler bug
This commit is contained in:
parent
63ee1abf82
commit
25e467bdea
@ -135,7 +135,9 @@ dnl Checks
|
||||
AC_PROG_CC_C99
|
||||
AM_PROG_AS
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=2],
|
||||
[CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"])
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
|
||||
[CFLAGS="$CFLAGS -fvisibility=hidden"])
|
||||
|
Loading…
Reference in New Issue
Block a user