summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-08-08 13:16:57 +0200
committerKay Sievers <kay@vrfy.org>2012-08-08 13:16:57 +0200
commit5ea373e101fe7153b0038d9cde015de5f6a6d314 (patch)
tree7d0c3a747030ec2bcbf02cc3aa11985736e6a949 /autogen.sh
parentbuild-sys: link internal selinux lib to systemd-remount-fs (diff)
downloadsystemd-5ea373e101fe7153b0038d9cde015de5f6a6d314.tar.xz
systemd-5ea373e101fe7153b0038d9cde015de5f6a6d314.zip
autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 86fe9b3785..33d8fcda23 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