summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-05-08 09:05:11 +0200
committerDan McGee <dan@archlinux.org>2012-05-21 02:00:14 +0200
commit7eb6dc2a9c2ecb723b07598b14cd24359004ef9e (patch)
treec3b6fe39f1092f1a37e439f1cf8c1e33ff3616fe /m4
parent8abef73ba99d183c191732686b4feab75a644b32 (diff)
downloadpacman-7eb6dc2a9c2ecb723b07598b14cd24359004ef9e.tar.gz
pacman-7eb6dc2a9c2ecb723b07598b14cd24359004ef9e.tar.xz
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>
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m42
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)
])