mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
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