summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index f80676b7c1..9869c156ae 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -54,6 +54,9 @@ args="$args \
fi
if [ "x$1" = "xc" ]; then
+ ./configure CFLAGS='-g -O0' $args
+ make clean
+elif [ "x$1" = "xg" ]; then
./configure CFLAGS='-g -Og' $args
make clean
else
@@ -62,6 +65,6 @@ else
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
- echo "./configure CFLAGS='-g -Og' $args"
+ echo "./configure CFLAGS='-g -O0' $args"
echo
fi