From 611ba90b83e28af0f2d13a4b0287d131a0dfe890 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 12 Aug 2007 19:34:53 +0000 Subject: [PATCH] defs.mk: Switched off -fstack-check by default, because it confused the hell out of valgrind --- make/defs.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/make/defs.mk b/make/defs.mk index 841486b1..7f125b25 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -457,9 +457,14 @@ ifeq ($(USE_MPATROL),true) LDFLAGS += -lmpatrolmt -lbfd -liberty endif +ifeq ($(USE_STACK_CHECK),true) + CFLAGS += -fstack-check + CPPFLAGS += -fstack-check +endif + ifeq ($(USE_COMPILER_DEBUG_OPTS),true) - CFLAGS += -Wall -g3 -fstack-check -fexceptions - CPPFLAGS += -Wall -g3 -fstack-check + CFLAGS += -Wall -g3 -fexceptions + CPPFLAGS += -Wall -g3 LDFLAGS += -Wall -g3 endif