mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Add USE_CHECK, Improve USE_VALGRING
- Support USE_MCHECK - Include /usr/include/valgrind/memcheck.h with USE_VALGRIND=true Signed-off-by: Jan Lindemann <jan@jannet.de>
This commit is contained in:
parent
c5db05b810
commit
34a44beb68
1 changed files with 6 additions and 2 deletions
|
|
@ -687,11 +687,15 @@ ifeq ($(USE_MPATROL),true)
|
|||
endif
|
||||
|
||||
ifeq ($(USE_VALGRIND),true)
|
||||
#BUILD_CFLAGS+= -include /usr/include/valgrind/memcheck.h -D_VALGRIND_
|
||||
#BUILD_CPPFLAGS += -include /usr/include/valgrind/memcheck.h -D_VALGRIND_
|
||||
BUILD_CFLAGS += -include /usr/include/valgrind/memcheck.h -D_VALGRIND_
|
||||
BUILD_CPPFLAGS += -include /usr/include/valgrind/memcheck.h -D_VALGRIND_
|
||||
# BUILD_LDFLAGS +=
|
||||
endif
|
||||
|
||||
ifeq ($(USE_MCHECK),true)
|
||||
BUILD_LDFLAGS += -lmcheck
|
||||
endif
|
||||
|
||||
ifeq ($(USE_STACK_PROTECTOR),true)
|
||||
BUILD_CFLAGS+= -fstack-protector-all
|
||||
# BUILD_CFLAGS+= -fstack-protector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue