summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2013-12-14 09:27:44 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-14 17:33:10 -0500
commit5d5f8ffa077b0f4716d5178734601a0c27f575df (patch)
treea542a58adfddece9791729f83251774eae551a68 /autogen.sh
parent9091e686f43184065381aa71929e3df36a4ea2e1 (diff)
build: use -ftrapv for development
We want to find these bugs if they exist.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index d0a2f3fee..9ffd7240a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -54,10 +54,10 @@ args="$args \
fi
if [ "x$1" = "xc" ]; then
- ./configure CFLAGS='-g -O0' --enable-kdbus $args
+ ./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args
make clean
elif [ "x$1" = "xg" ]; then
- ./configure CFLAGS='-g -Og' --enable-kdbus $args
+ ./configure CFLAGS='-g -Og -ftrapv' --enable-kdbus $args
make clean
else
echo
@@ -65,6 +65,6 @@ else
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
- echo "./configure CFLAGS='-g -O0' --enable-kdbus $args"
+ echo "./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args"
echo
fi