mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Makefile: compile debug build with -Og on GCC 4.8 and higher
This commit is contained in:
parent
0081397920
commit
390927cc32
1 changed files with 6 additions and 1 deletions
|
@ -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