Makefile.am fix that actually does a proper substitution

This commit is contained in:
Benny Baumann 2021-08-02 00:43:10 +02:00
parent 03705a20aa
commit 44e01dd32b
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ profile:
$(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG" $(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG"
debug: 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: coverage:
$(MAKE) all AM_CPPFLAGS="-fprofile-arcs -ftest-coverage" AM_LDFLAGS="-lgcov" $(MAKE) all AM_CPPFLAGS="-fprofile-arcs -ftest-coverage" AM_LDFLAGS="-lgcov"