Unverified Commit aac5cd95 authored by Ignacio Sanchez Gines's avatar Ignacio Sanchez Gines
Browse files

Fix address sanitizer build

parent 3c2233a2
......@@ -29,6 +29,7 @@ UNAME_S := $(shell uname -s)
CXXFLAGS = -I../ -I../../
CXXFLAGS += -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"$(GIT_VERSION)\"
LIBS =
DEBUG ?= 0
ifeq ($(DEBUG), 1)
......@@ -40,10 +41,9 @@ endif
SANITIZE ?= 0
ifeq ($(SANITIZE), 1)
CXXFLAGS +=-fsanitize=address
LIBS += -lasan
endif
LIBS =
##---------------------------------------------------------------------
## BUILD FLAGS PER PLATFORM
##---------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment