From 0597db225ae9080e6da2bb47e543349d5628c550 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Wed, 23 Jan 2019 10:32:13 +0100 Subject: [PATCH] Add scheme namespace definition to valgrind target --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index bd7d8eb4..4e593dd5 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ run-valgrind: bin/functest_$(subst /,_,$(SCHEME)) bin/sanitizer_$(subst /,_,$(SCHEME)): test/$(dir $(SCHEME))functest.c $(wildcard $(SCHEME)/clean/*.c) $(wildcard $(SCHEME)/clean/*.h) | require_scheme mkdir -p bin $(CC) $(CFLAGS) -fsanitize=address \ + -DPQCLEAN_NAMESPACE=$(shell echo PQCLEAN_$(subst -,,$(notdir $(SCHEME))) | tr a-z A-Z) \ -iquote "./common/" \ -iquote "$(SCHEME)/clean/" \ -o bin/sanitizer_$(subst /,_,$(SCHEME)) \