COMPILE_DEBUG should not disable optimizations

If you additionally want to disable optimizations, define this IGNORE_SPEED macro.
This commit is contained in:
Daniel Mendler 2019-05-21 14:26:14 +02:00
parent f92d8f0a12
commit e379c0f734
No known key found for this signature in database
GPG Key ID: D88ADB2A2693CA43

View File

@ -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