From: Kay Sievers Date: Wed, 8 Aug 2012 11:16:57 +0000 (+0200) Subject: autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible X-Git-Tag: v188~13 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=5ea373e101fe7153b0038d9cde015de5f6a6d314 autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible --- diff --git a/autogen.sh b/autogen.sh index 86fe9b378..33d8fcda2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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