ref: 5e129967d8979e84f9adb9f983cfb6ed40a5ab1c
parent: 1f055ccfe86822e48f83b32340c0a41caed01b3b
author: Gabriel Ravier <gabravier@gmail.com>
date: Tue May 7 04:34:37 EDT 2019
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>
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
LDFLAGS = -s
FILENAME_DEF = CSE2
else
- CXXFLAGS = -O0 -g
+ CXXFLAGS = -Og -g3
FILENAME_DEF = CSE2d
endif