From 5e129967d8979e84f9adb9f983cfb6ed40a5ab1c Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Tue, 7 May 2019 08:34:37 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e727670e..6d86c2d4 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ ifeq ($(RELEASE), 1) LDFLAGS = -s FILENAME_DEF = CSE2 else - CXXFLAGS = -O0 -g + CXXFLAGS = -Og -g3 FILENAME_DEF = CSE2d endif