diff --git a/Makefile b/Makefile index e4812a499c20515a0149f306aa964469a45da216..c9ae4493ddacc2edbd9bdbe7c874b7d48a768b75 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,9 @@ LDLIBS += -lm # Clang sanitizer compiler options CCCLANG = clang +ifeq "$(CLANG)" "0" +CC = $(CCCLANG) +endif ifeq "$(CLANG)" "1" CC = $(CCCLANG) CFLAGS += -fsanitize=memory