UNAME=$(shell uname)
DEBUG=1
+ASAN=0
INSTALL=install
LN=ln
PKG_CONFIG=pkg-config
CFLAGS ?= -pipe -O2 -freorder-blocks-and-partition
endif
+ifeq ($(ASAN),1)
+CFLAGS += -fsanitize=address -DI3_ASAN_ENABLED
+LDFLAGS += -fsanitize=address
+endif
+
# Default LDFLAGS that users should be able to override
LDFLAGS ?= $(as_needed_LDFLAG)