Makefile: compile debug build with -Og on GCC 4.8 and higher
This commit is contained in:
parent
0081397920
commit
390927cc32
|
@ -366,7 +366,12 @@ ifdef DEBUGMODE
|
||||||
|
|
||||||
# build with debugging information
|
# build with debugging information
|
||||||
WINDRESFLAGS = -D_DEBUG
|
WINDRESFLAGS = -D_DEBUG
|
||||||
CFLAGS+=-O0 -Wall -DPARANOIA -DRANGECHECK
|
ifdef GCC48
|
||||||
|
CFLAGS+=-Og
|
||||||
|
else
|
||||||
|
CFLAGS+=-O0
|
||||||
|
endif
|
||||||
|
CFLAGS+= -Wall -DPARANOIA -DRANGECHECK
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue