Commit e379c0f734082550661ca0fe49e08fec067b19a3

Daniel Mendler 2019-05-21T14:26:14

COMPILE_DEBUG should not disable optimizations If you additionally want to disable optimizations, define this IGNORE_SPEED macro.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/makefile_include.mk b/makefile_include.mk
index aad3896..cae5ac7 100644
--- a/makefile_include.mk
+++ b/makefile_include.mk
@@ -71,7 +71,7 @@ endif
 ifdef COMPILE_DEBUG
 #debug
 CFLAGS += -g3
-else
+endif
 
 ifdef COMPILE_SIZE
 #for size
@@ -87,7 +87,6 @@ CFLAGS  += -fomit-frame-pointer
 endif
 
 endif # COMPILE_SIZE
-endif # COMPILE_DEBUG
 
 ifneq ($(findstring clang,$(CC)),)
 CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header