--- a/tests/modules/Makefile +++ b/tests/modules/Makefile @@ -29,8 +29,7 @@ # tough we want to keep the compiler as clang as MSan is not supported for gcc ifeq ($(uname_S),Linux) ifneq ($(SANITIZER),memory) - LD = gcc - CC = gcc + LD = $(CC) endif endif