mirror of https://github.com/xzeldon/htop.git
Drop -DDEBUG (was removed in d69585b82a
), add -Og for make debug target
This commit is contained in:
parent
135efd5705
commit
a89521ed7f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue