summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-10-24 14:33:39 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-10-24 14:33:39 +1100
commit033834a443b4c4b34445382345ad1abd06245776 (patch)
tree50bcf4cbbb2d000d47722b0174e499e03d28ff93
parente3a7c717f93c15ba549bd14c9f9ca822966cf7a3 (diff)
downloadmongo-033834a443b4c4b34445382345ad1abd06245776.tar.gz
Turn on SWIG optimizations and warnings.
This doesn't appear to have any significant effect at the moment, but we may as well take advantage of them.
-rw-r--r--lang/python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 23a2797ce4c..d22234e9f43 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -7,7 +7,7 @@ endif
all-local: _wiredtiger.so
$(PYSRC)/wiredtiger_wrap.c: $(top_srcdir)/src/include/wiredtiger.in $(PYSRC)/wiredtiger.i
@(cd $(PYSRC) && \
- $(SWIG) -python -nodefaultctor -nodefaultdtor -threads -I$(abs_top_builddir) wiredtiger.i)
+ $(SWIG) -python -threads -O -Wall -nodefaultctor -nodefaultdtor -I$(abs_top_builddir) wiredtiger.i)
_wiredtiger.so: $(top_builddir)/libwiredtiger.la $(PYSRC)/wiredtiger_wrap.c
$(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f $(PY_SETUP_DEBUG)