summaryrefslogtreecommitdiff
blob: 723b9c5e43f211eba74741bda0e692dbbfb52162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Don't clobber toolchain defaults.

https://bugs.gentoo.org/892992
--- a/configure.ac
+++ b/configure.ac
@@ -109,7 +109,8 @@ if test "${GCC}" = yes; then
     AX_APPEND_LINK_FLAGS([-Wl,-z,now])
     AX_APPEND_LINK_FLAGS([-Wl,-z,noexecstack])
 fi
-AX_APPEND_COMPILE_FLAGS([-D_FORTIFY_SOURCE=2])
+
+AX_ADD_FORTIFY_SOURCE
 
 AC_MSG_NOTICE([**************************************** libtool])
 LT_INIT([disable-static])