diff options
author | Kay Sievers <kay@vrfy.org> | 2012-05-08 02:51:26 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-05-08 02:51:26 +0200 |
commit | 66be6554807773028a0111addb8e75c3cab11117 (patch) | |
tree | 5ba518a94a82cc57feb1324a2cc7525e703eca4b /autogen.sh | |
parent | 9eb977db5b89b44f254ab40c1876a76b7d7ea2d0 (diff) |
autogen.sh: undef _FORTIFY_SOURCE, which now logs warnings when used with -O0
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/autogen.sh b/autogen.sh index d27b5c6764..be88a8d6f3 100755 --- a/autogen.sh +++ b/autogen.sh @@ -51,16 +51,14 @@ args="$args \ " fi -if [ "x$1" != "xc" ]; then - echo - echo "----------------------------------------------------------------" - echo "Initialized build system. For a common configuration please run:" - echo "----------------------------------------------------------------" - echo - echo "./configure CFLAGS='-g -O0' $args" - echo -else - echo ./configure CFLAGS='-g -O0' $args - ./configure CFLAGS='-g -O0' $args +echo +echo "----------------------------------------------------------------" +echo "Initialized build system. For a common configuration please run:" +echo "----------------------------------------------------------------" +echo +echo "./configure CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' $args" +echo +if [ "x$1" == "xc" ]; then + ./configure CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' $args make clean fi |