diff --git a/Makefile b/Makefile index 2e0c20a5..1dc21d7d 100644 --- a/Makefile +++ b/Makefile @@ -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))