Makefile: Fix debug builds. (#5989)

RetroArch builds debug builds by default after commit ec4b0f9089
This is very bad and breaks ./configure && make.
This commit is contained in:
orbea 2017-12-29 11:00:53 -08:00 committed by bparker06
parent ec4b0f9089
commit 72e3d5c38c

View File

@ -64,7 +64,7 @@ ifneq ($(V),1)
Q := @ Q := @
endif endif
ifneq ($(DEBUG), 0) ifeq ($(DEBUG), 1)
OPTIMIZE_FLAG = -O0 -g OPTIMIZE_FLAG = -O0 -g
else else
OPTIMIZE_FLAG = -O3 -ffast-math OPTIMIZE_FLAG = -O3 -ffast-math