summaryrefslogtreecommitdiff
path: root/sal/workben
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-27 15:35:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-27 15:35:02 +0100
commit49313b0626356f4726dc3bd52b237bbb81928a36 (patch)
tree6c566f26d5d56a61f2d5eb814512893a12bcf4c5 /sal/workben
parenta0a58556f36cbf396f5139e18881720ed838ddd4 (diff)
Make python3 work with custom VALGRIND_CFLAGS
Change-Id: Ia4b08a1b20bf46af4d06c0478ed8e795ee543703
Diffstat (limited to 'sal/workben')
-rw-r--r--sal/workben/makefile.mk4
-rw-r--r--sal/workben/measure_oustrings.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/workben/makefile.mk b/sal/workben/makefile.mk
index 545b96db4994..eb3873aa3db5 100644
--- a/sal/workben/makefile.mk
+++ b/sal/workben/makefile.mk
@@ -96,8 +96,8 @@ APP4DEPN=$(SLB)$/sal.lib
OBJFILES+=\
$(OBJ)$/measure_oustrings.obj
-.IF "$(HAVE_CALLGRIND)" == "YES"
-CFLAGSCXX+=-DHAVE_CALLGRIND
+.IF "$(ENABLE_VALGRIND)" == "TRUE"
+CFLAGSCXX+=-DHAVE_VALGRIND_HEADERS
.ENDIF
APP6TARGET=measure_oustrings
diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx
index 480f178523a1..27cf907079db 100644
--- a/sal/workben/measure_oustrings.cxx
+++ b/sal/workben/measure_oustrings.cxx
@@ -36,7 +36,7 @@
#include <sstream>
#include <fstream>
-#ifdef HAVE_CALLGRIND
+#if defined HAVE_VALGRIND_HEADERS
# include <valgrind/callgrind.h>
int COUNT = 1;
#else