Makefile: compile debug build with -Og on GCC 4.8 and higher
This commit is contained in:
1 parent
0081397920
commit
390927cc32
1 file changed
+6
-1
+6
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user