summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-08-14 21:33:08 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-08-14 21:33:08 +0800
commitb5adf2c75dc7033590596bbc7c1c0adf35810b32 (patch)
tree7b69d66817c0137f61046f466baa7612ee62bfd4
parent16bd435bfc26799784aa62a7d94816d371b28e33 (diff)
downloadibus-b5adf2c75dc7033590596bbc7c1c0adf35810b32.tar.gz
ibus-b5adf2c75dc7033590596bbc7c1c0adf35810b32.tar.xz
ibus-b5adf2c75dc7033590596bbc7c1c0adf35810b32.zip
Add CFLAGS & CXXFLAGS.
-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 $*