summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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