buildsys: make valgrind=1 to enable valgrind support
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
9cdda3f7c7
commit
6f0069ae1e
4
Makefile
4
Makefile
@ -25,6 +25,10 @@ else
|
|||||||
COMPILEDIR := target/debug
|
COMPILEDIR := target/debug
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(valgrind), yes)
|
||||||
|
CARGO_BUILD_ARGS += --features valgrind
|
||||||
|
endif
|
||||||
|
|
||||||
COMPILED_BINS := \
|
COMPILED_BINS := \
|
||||||
$(addprefix $(COMPILEDIR)/,$(USR_BIN) $(USR_SBIN) $(SERVICE_BIN))
|
$(addprefix $(COMPILEDIR)/,$(USR_BIN) $(USR_SBIN) $(SERVICE_BIN))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user