defs.mk: Switched off -fstack-check by default, because it confused the hell out of valgrind

This commit is contained in:
Jan Lindemann 2007-08-12 19:34:53 +00:00 committed by Jan Lindemann
commit 611ba90b83

View file

@ -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