autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible
This commit is contained in:
parent
81311bbd12
commit
5ea373e101
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue