Add scheme namespace definition to valgrind target

Tento commit je obsažen v:
Joost Rijneveld 2019-01-23 10:32:13 +01:00
rodič 1e92a13703
revize 0597db225a
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: A4FE39CF49CBC553

Zobrazit soubor

@ -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)) \