summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-04-24 08:37:09 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-04-24 08:37:09 +1000
commitef86c8fe24ff7303cdc8c5bd423bc74e3dcebdbd (patch)
tree5a519202214ff781372b2df6b9055ed4e2e0570f /lang
parent89578002975849ddeaf375e17351412c21039bf0 (diff)
downloadmongo-ef86c8fe24ff7303cdc8c5bd423bc74e3dcebdbd.tar.gz
Remove Java and Python build rules that relied on "--enable-debug". Always require junit to test the Java build, and don't turn on the "-g" flag in the Python build: we're not debugging the glue code in general.
Diffstat (limited to 'lang')
-rw-r--r--lang/python/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index cc7d9507b2e..0ac56138e29 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -1,8 +1,5 @@
PYSRC = $(top_srcdir)/lang/python
PY_INCLUDE_DIRS = $(top_srcdir)
-if DEBUG
-PY_SETUP_DEBUG = -g
-endif
all-local: _wiredtiger.so
# We keep generated Python sources under lang/python: that's where they live
@@ -13,11 +10,11 @@ $(PYSRC)/wiredtiger_wrap.c: $(top_srcdir)/src/include/wiredtiger.in $(PYSRC)/wir
mv wiredtiger.py wiredtiger/__init__.py)
_wiredtiger.so: $(top_builddir)/libwiredtiger.la $(PYSRC)/wiredtiger_wrap.c
- $(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f $(PY_SETUP_DEBUG) -I $(PY_INCLUDE_DIRS)
+ $(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f -I $(PY_INCLUDE_DIRS)
install-exec-local:
$(PYTHON) $(PYSRC)/setup.py build_py -d build
- $(PYTHON) $(PYSRC)/setup.py build_ext -b build -t . -f $(PY_SETUP_DEBUG) -I $(PY_INCLUDE_DIRS)
+ $(PYTHON) $(PYSRC)/setup.py build_ext -b build -t . -f -I $(PY_INCLUDE_DIRS)
$(PYTHON) $(PYSRC)/setup.py install_lib -b build --skip-build $(PYTHON_INSTALL_ARG)
clean-local: