Drop -DDEBUG (was removed in d69585b82a), add -Og for make debug target

This commit is contained in:
Daniel Lange 2021-02-16 17:07:08 +01:00
parent 135efd5705
commit a89521ed7f
1 changed files with 2 additions and 2 deletions

View File

@ -296,10 +296,10 @@ profile:
$(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG" $(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG"
debug: debug:
$(MAKE) all AM_CPPFLAGS="-ggdb -DDEBUG" $(MAKE) all AM_CPPFLAGS="-ggdb3 -Og" CFLAGS="$(patsubst -O%,,$(CFLAGS))"
coverage: coverage:
$(MAKE) all AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" AM_LDFLAGS="-lgcov" $(MAKE) all AM_CPPFLAGS="-fprofile-arcs -ftest-coverage" AM_LDFLAGS="-lgcov"
cppcheck: cppcheck:
cppcheck -q -v . --enable=all -DHAVE_OPENVZ cppcheck -q -v . --enable=all -DHAVE_OPENVZ