aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-04-03 09:34:31 -0700
committerGravatar Yang Gao <yangg@google.com>2015-04-03 09:34:31 -0700
commita4b0909db9be2443b3c78a3cca86893b36c64599 (patch)
tree97b3fe821bfc0d7b9a1e3c35f170edaa64965966 /templates
parent1fa0c0881fe7a80d64a23df46f5f0da2f7ff4a56 (diff)
parent74c14e5ac752edc7e1dc0aaf31abfd1153df1d0a (diff)
Merge pull request #1180 from vjpai/perf-0402
Trace and trim locks, properly handle SIGINT
Diffstat (limited to 'templates')
-rw-r--r--templates/Makefile.template9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 36d11425df..340cf23599 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -111,6 +111,15 @@ CPPFLAGS_dbg = -O0
LDFLAGS_dbg =
DEFINES_dbg = _DEBUG DEBUG
+VALID_CONFIG_mutrace = 1
+CC_mutrace = $(DEFAULT_CC)
+CXX_mutrace = $(DEFAULT_CXX)
+LD_mutrace = $(DEFAULT_CC)
+LDXX_mutrace = $(DEFAULT_CXX)
+CPPFLAGS_mutrace = -O0
+LDFLAGS_mutrace = -rdynamic
+DEFINES_mutrace = _DEBUG DEBUG
+
VALID_CONFIG_valgrind = 1
REQUIRE_CUSTOM_LIBRARIES_valgrind = 1
CC_valgrind = $(DEFAULT_CC)