summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-09-06 17:25:01 -1000
committerSam Bingner <sam@bingner.com>2020-04-08 13:54:11 -1000
commit88b09ba771cea1703c49201d15b0e1b5005eb7e7 (patch)
tree0c16fca624e330be0f75d46181e9865146e17297 /makefile
parentaeace03f50e589a03f74b1c0449c030f6d098640 (diff)
Fix some makefile flags
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index b9658f8..bf6edc5 100644
--- a/makefile
+++ b/makefile
@@ -35,7 +35,7 @@ endif
cycc += -include system.h
cycc += -fmessage-length=0
-cycc += -gfull -O2
+cycc += -O2
cycc += -fvisibility=hidden
link += -Wl,-dead_strip
@@ -166,6 +166,7 @@ apt32 += -Wno-tautological-compare
apt32 += -Wno-uninitialized
apt32 += -Wno-unused-private-field
apt32 += -Wno-unused-variable
+apt32 += -DNDEBUG
endif
flag64 :=
@@ -177,6 +178,7 @@ apt64 += -include apt.h
apt64 += -Wno-deprecated-register
apt64 += -Wno-unused-private-field
apt64 += -Wno-unused-variable
+apt64 += -DNDEBUG
eapt := -include apt.h
apt64 += $(eapt)