From b4e4b293d56533f40a4e0dba8afd496ccb6497b7 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 17 Oct 2011 20:51:55 -0700 Subject: Adding the debug / non-debug defines from the Makefile, and avoiding pointer aliasing. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 935a54f..be4afec 100644 --- a/Makefile +++ b/Makefile @@ -14,10 +14,12 @@ AR = ar rcs BINEXT = bin +CPPFLAGS += -fno-strict-aliasing + ifeq ($(DEBUG),) -CPPFLAGS += -O3 +CPPFLAGS += -O3 -DNDEBUG else -CPPFLAGS += -g +CPPFLAGS += -g -DDEBUG LDFLAGS += -g endif -- cgit v1.2.3