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:
parent
1f055ccfe8
commit
5e129967d8
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ ifeq ($(RELEASE), 1)
|
|||
LDFLAGS = -s
|
||||
FILENAME_DEF = CSE2
|
||||
else
|
||||
CXXFLAGS = -O0 -g
|
||||
CXXFLAGS = -Og -g3
|
||||
FILENAME_DEF = CSE2d
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue