diff options
author | Allan McRae <allan@archlinux.org> | 2012-05-08 17:05:11 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-20 19:00:14 -0500 |
commit | 7eb6dc2a9c2ecb723b07598b14cd24359004ef9e (patch) | |
tree | c3b6fe39f1092f1a37e439f1cf8c1e33ff3616fe | |
parent | 8abef73ba99d183c191732686b4feab75a644b32 (diff) |
Define _FORTIFY_SOURCE in CPPFLAGS
The -D_FORTIFY_SOURCE=2 define should be in CPPFLAGS and not CFLAGS
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | m4/acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index 8ea45973..4455d261 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -54,7 +54,7 @@ AC_DEFUN([GCC_FORTIFY_SOURCE_CC],[ } ], [ AC_MSG_RESULT(yes) - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" ], [ AC_MSG_RESULT(no) ]) |