mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
Drop -DDEBUG (was removed in d69585b82abfdaede9e8c358982a4953c432e8d2), 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"
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user