From dc7110fdc581b49662e0a640da717e683c547b5a Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Thu, 2 Apr 2015 13:59:05 -0700 Subject: [PATCH] Add new CONFIG for building with mutrace --- Makefile | 9 +++++++++ templates/Makefile.template | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/Makefile b/Makefile index 0b2fe0701d1..fad9eb26fbd 100644 --- a/Makefile +++ b/Makefile @@ -94,6 +94,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) diff --git a/templates/Makefile.template b/templates/Makefile.template index 36d11425df4..340cf235992 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)