We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3df128 commit b194cceCopy full SHA for b194cce
bricks/_common/common.mk
@@ -213,8 +213,11 @@ CFLAGS += -fsingle-precision-constant -Wdouble-promotion
213
endif # end embedded, begin common
214
215
# Tune for Debugging or Optimization
216
-ifeq ($(DEBUG), 1)
217
-CFLAGS += -Og -ggdb
+ifeq ($(COVERAGE), 1)
+CFLAGS += --coverage -fprofile-arcs -ftest-coverage
218
+LDFLAGS += --coverage
219
+else ifeq ($(DEBUG), 1)
220
+CFLAGS += -O0 -ggdb
221
else ifeq ($(DEBUG), 2)
222
CFLAGS += -Os -DNDEBUG -flto=auto
223
else
0 commit comments