summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/Makefile.in2
-rwxr-xr-xsource4/lib/tdb/autogen.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index e45fa3cf79..a60b9a67bf 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -113,7 +113,7 @@ realdistclean: distclean
rm -f configure include/config.h.in
tdb_wrap.c tdb.py: tdb.i
- $(SWIG) -python -keyword tdb.i
+ $(SWIG) -O -Wall -python -keyword tdb.i
build-python: libtdb.$(SHLIBEXT) tdb_wrap.c tdb.py
./setup.py build
diff --git a/source4/lib/tdb/autogen.sh b/source4/lib/tdb/autogen.sh
index 8660843d2b..88ac4cfcf7 100755
--- a/source4/lib/tdb/autogen.sh
+++ b/source4/lib/tdb/autogen.sh
@@ -9,7 +9,7 @@ autoheader $IPATHS || exit 1
rm -rf autom4te.cache
-swig -python -keyword tdb.i # Ignore errors for now
+swig -O -Wall -python -keyword tdb.i # Ignore errors for now
echo "Now run ./configure and then make."
exit 0