buildsys: make valgrind=1 to enable valgrind support

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller committed 2019-05-23 09:49:10 +02:00
1 parent 9cdda3f7c7
commit 6f0069ae1e
1 file changed
+4
+4
View File
@@ -25,6 +25,10 @@ else
COMPILEDIR := target/debug
endif
ifeq ($(valgrind), yes)
CARGO_BUILD_ARGS += --features valgrind
endif
COMPILED_BINS := \
$(addprefix $(COMPILEDIR)/,$(USR_BIN) $(USR_SBIN) $(SERVICE_BIN))