Changed debug flags from -O0 -g to -Og -g3

-Og is because "It is a better choice than -O0 for producing debuggable code because some compiler passes that collect debug information are disabled at -O0." and for making the code at least optimized a little bit
-g3 is for adding maximum debug information (such as macro information)

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-05-07 08:34:37 +02:00
parent 1f055ccfe8
commit 5e129967d8

View file

@ -3,7 +3,7 @@ ifeq ($(RELEASE), 1)
LDFLAGS = -s LDFLAGS = -s
FILENAME_DEF = CSE2 FILENAME_DEF = CSE2
else else
CXXFLAGS = -O0 -g CXXFLAGS = -Og -g3
FILENAME_DEF = CSE2d FILENAME_DEF = CSE2d
endif endif