Don't mess debug builds with nondebug

This commit is contained in:
Oleksii Shevchuk 2016-08-28 14:29:02 +03:00
parent c91ac2a120
commit 711aef51f7
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ LINUX_INJECT_CFLAGS := -include debug.h -include fixes.h -Dmain=linux_inject_mai
ifneq ($(DEBUG),)
DEBUG_ADD := debug
CFLAGS += -DDEBUG -O0 -g
NAME := "$(NAME)d"
else
CFLAGS += -O2
LINUX_INJECT_CFLAGS += -Dprintf=dprint -Dfprintf=dfprint