summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNicolas Schodet2015-08-12 10:00:55 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit46344a8589a8d33223b9727d1770adc5706408c8 (patch)
treedd9a1fb1ec1fdda91eb765d837025aefc42b7c1e /build
parentc3f656eb0b9ea146a64b1bdf11c5f3ec5c4e0625 (diff)
build: add more debug information (-g3)
Diffstat (limited to 'build')
-rw-r--r--build/top.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/top.mk b/build/top.mk
index 24f17bb..cdc04f9 100644
--- a/build/top.mk
+++ b/build/top.mk
@@ -18,7 +18,7 @@ OBJDIR := obj
INCLUDES := $(INCLUDES) -I$(UCOO_BASE) -I$(BASE) -I$(OBJDIR)
CPPFLAGS := $(DEFS) $(INCLUDES) -MP -MMD
OPTIMIZE ?= -Os
-CFLAGS := -g -Wall -W -Wundef -Wno-unused-parameter \
+CFLAGS := -g3 -Wall -W -Wundef -Wno-unused-parameter \
-fno-exceptions $(OPTIMIZE)
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-threadsafe-statics -std=gnu++11 -Wno-deprecated-declarations
LDFLAGS :=