summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-09-09 18:40:51 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-09-09 18:40:51 +0800
commit2138830b9a5c950dcd8db23865a762e1157571fa (patch)
tree683dfee2bfd11b98bd529c560780aadcf2821ba3
parent6ff7e73f6725bb26e535b3052a3de9490a6aa4c8 (diff)
downloadibus-anthy-2138830b9a5c950dcd8db23865a762e1157571fa.tar.gz
Modify CFLAGS.
-rwxr-xr-xautogen.sh2
-rw-r--r--engine/Makefile.am1
2 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 14db0b1..9e533f0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,6 +8,6 @@ aclocal -I m4
autoheader
automake --add-missing --copy
autoconf
-export CFLAGS="-g -O0"
+export CFLAGS="-Wall -g -O0 -Wl,--no-undefined"
export CXXFLAGS="$CFLAGS"
./configure --enable-maintainer-mode $*
diff --git a/engine/Makefile.am b/engine/Makefile.am
index cca358d..211e94e 100644
--- a/engine/Makefile.am
+++ b/engine/Makefile.am
@@ -50,6 +50,7 @@ _anthy_la_CFLAGS = \
_anthy_la_LDFLAGS = \
@ANTHY_LIBS@ \
+ @PYTHON_LIBS@ \
-rpath $(anthydir) \
-avoid-version \
-module \