Set it to -O2 by default

This commit is contained in:
twinaphex 2017-07-04 09:47:37 +02:00
parent 8d14bf479d
commit 3a756ed18d

View File

@ -254,12 +254,8 @@ endif
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g CFLAGS += -O0 -g
else ifeq ($(platform),qnx)
CFLAGS += -Os -DNDEBUG
else ifeq ($(platform), emscripten)
CFLAGS += -O2 -DNDEBUG
else else
CFLAGS += -O3 -DNDEBUG CFLAGS += -O2 -DNDEBUG
endif endif
CORE_DIR := . CORE_DIR := .