chiark / gitweb /
autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible
authorKay Sievers <kay@vrfy.org>
Wed, 8 Aug 2012 11:16:57 +0000 (13:16 +0200)
committerKay Sievers <kay@vrfy.org>
Wed, 8 Aug 2012 11:16:57 +0000 (13:16 +0200)
autogen.sh

index 86fe9b3..33d8fcd 100755 (executable)
@@ -54,7 +54,7 @@ args="$args \
 fi
 
 if [ "x$1" = "xc" ]; then
-        ./configure CFLAGS='-g -O0' $args
+        ./configure CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' $args
         make clean
 else
         echo
@@ -62,6 +62,6 @@ else
         echo "Initialized build system. For a common configuration please run:"
         echo "----------------------------------------------------------------"
         echo
-        echo "./configure CFLAGS='-g -O0' $args"
+        echo "./configure CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' $args"
         echo
 fi