summaryrefslogtreecommitdiff
path: root/python3
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-10 09:55:31 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-10 09:56:23 +0300
commitd79f3e6ff03722db0dd082aecc3e3e6e29cfbb4f (patch)
treef734dd149f9dbe78b518d053af7a014fa88dd362 /python3
parent85f5f2301d2efaa3246d7dde87c5e3a969711140 (diff)
Normalize ENABLE_VALGRIND: TRUE or empty
Change-Id: I21521d1d7e4a139a1ea0c3f4fe6c51b4637c595f
Diffstat (limited to 'python3')
-rw-r--r--python3/ExternalProject_python3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/python3/ExternalProject_python3.mk b/python3/ExternalProject_python3.mk
index 3abf24a0d938..8e7769ba37f6 100644
--- a/python3/ExternalProject_python3.mk
+++ b/python3/ExternalProject_python3.mk
@@ -52,7 +52,7 @@ else
# specific name like build/lib.linux-x86_64-3.3
python3_cflags = $(ZLIB_CFLAGS)
-ifeq ($(ENABLE_VALGRIND),TRUE)
+ifneq (,$(ENABLE_VALGRIND))
python3_cflags += $(VALGRIND_CFLAGS)
endif
@@ -60,7 +60,7 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
$(call gb_ExternalProject_run,build,\
./configure \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
- $(if $(filter TRUE,$(ENABLE_VALGRIND)),--with-valgrind) \
+ $(if $(ENABLE_VALGRIND),--with-valgrind) \
--prefix=/python-inst \
$(if $(filter MACOSX,$(OS)),,--with-system-expat) \
$(if $(filter AIX,$(OS)), \