build: add address santizer, compile with SANITIZE_ADDRESS=1
[olsrd.git] / Makefile
index f35a020..516fa5b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ INSTALLOVERWRITE ?=
 include Makefile.inc
 
 # pass generated variables to save time
 include Makefile.inc
 
 # pass generated variables to save time
-MAKECMD = $(MAKE) OS="$(OS)" WARNINGS="$(WARNINGS)" VERBOSE="$(VERBOSE)"
+MAKECMD = $(MAKE) OS="$(OS)" WARNINGS="$(WARNINGS)" VERBOSE="$(VERBOSE)" SANITIZE_ADDRESS="$(SANITIZE_ADDRESS)"
 
 LIBS +=                $(OS_LIB_DYNLOAD)
 ifeq ($(OS), win32)
 
 LIBS +=                $(OS_LIB_DYNLOAD)
 ifeq ($(OS), win32)