Makefile: compile debug build with -Og on GCC 4.8 and higher

This commit is contained in:
Alam Ed Arias 2016-05-27 14:14:04 -04:00
parent 0081397920
commit 390927cc32
1 changed files with 6 additions and 1 deletions

View File

@ -366,7 +366,12 @@ ifdef DEBUGMODE
# build with debugging information
WINDRESFLAGS = -D_DEBUG
CFLAGS+=-O0 -Wall -DPARANOIA -DRANGECHECK
ifdef GCC48
CFLAGS+=-Og
else
CFLAGS+=-O0
endif
CFLAGS+= -Wall -DPARANOIA -DRANGECHECK
else