mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Define _FORTIFY_SOURCE only on linux-gnu
This commit is contained in:
parent
a72abb0ae1
commit
3b26a5c1f1
@ -217,7 +217,7 @@ AC_C_VARARRAYS
|
||||
|
||||
AC_CHECK_DEFINE([__wasi__], [WASI="yes"], [])
|
||||
|
||||
AX_ADD_FORTIFY_SOURCE
|
||||
AS_CASE([$host_os], [linux-gnu], [AX_ADD_FORTIFY_SOURCE], [ ])
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
|
||||
[CFLAGS="$CFLAGS -fvisibility=hidden"])
|
||||
|
Loading…
Reference in New Issue
Block a user