mirror of https://github.com/xzeldon/htop.git
Makefile.am fix that actually does a proper substitution
This commit is contained in:
parent
03705a20aa
commit
44e01dd32b
|
@ -423,7 +423,7 @@ profile:
|
|||
$(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG"
|
||||
|
||||
debug:
|
||||
$(MAKE) all AM_CPPFLAGS="-ggdb3 -Og" CFLAGS="`patsubst -O%,,$(CFLAGS)`"
|
||||
$(MAKE) all AM_CPPFLAGS="-ggdb3 -Og" CFLAGS="`printf ' %s ' "$(CFLAGS)"|sed -E 's#[[:space:]]-O[^[:space:]]+[[:space:]]# #g'` -ggdb3 -Og"
|
||||
|
||||
coverage:
|
||||
$(MAKE) all AM_CPPFLAGS="-fprofile-arcs -ftest-coverage" AM_LDFLAGS="-lgcov"
|
||||
|
|
Loading…
Reference in New Issue