Merge branch 'enable-better-debug-on-enable-debug' of fasterit/htop

This commit is contained in:
Daniel Lange
2021-02-17 15:19:59 +01:00
2 changed files with 5 additions and 3 deletions

View File

@ -295,10 +295,10 @@ profile:
$(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG"
debug:
$(MAKE) all AM_CPPFLAGS="-ggdb -DDEBUG"
$(MAKE) all AM_CPPFLAGS="-ggdb3 -Og" CFLAGS="$(patsubst -O%,,$(CFLAGS))"
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 -q -v . --enable=all -DHAVE_OPENVZ