From: Simon Ruderich Date: Tue, 31 Jul 2012 22:12:05 +0000 (+0200) Subject: configure.ac: Use $CPPFLAGS for preprocessor flags. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=5e1b777ab504b5ab4428e5850bc03039f0e680ff;p=tlsproxy%2Ftlsproxy.git configure.ac: Use $CPPFLAGS for preprocessor flags. --- diff --git a/configure.ac b/configure.ac index c71222a..db5285c 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,8 @@ AC_PROG_CC if test "x$GCC" = xyes; then CFLAGS="-std=c89 -pedantic -Wall -Wextra -Werror $CFLAGS" - CFLAGS="-D_XOPEN_SOURCE=500 -Wno-error=int-to-pointer-cast $CFLAGS" + CFLAGS="-Wno-error=int-to-pointer-cast $CFLAGS" + CPPFLAGS="-D_XOPEN_SOURCE=500 $CPPFLAGS" # Additional security flags. CFLAGS="$CFLAGS -Wformat -Wformat-security -Werror=format-security" CFLAGS="$CFLAGS -fstack-protector-all -Wstack-protector"