summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 6d46f01..f5781b2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,4 +8,6 @@ aclocal -I m4
autoheader
automake --add-missing --copy
autoconf
-CFLAGS=-Wall CXXFLAGS=-Wall ./configure --enable-maintainer-mode $*
+export CFLAGS="-Wall -g -O0"
+export CXXFLAGS="$CFLAGS"
+./configure --enable-maintainer-mode $*