autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible

This commit is contained in:
Kay Sievers 2012-08-08 13:16:57 +02:00
parent 81311bbd12
commit 5ea373e101
1 changed files with 2 additions and 2 deletions

View File

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