unix/Makefile: coverage: Allow user to pass CFLAGS_EXTRA.
This build sets CFLAGS_EXTRA itself, but preserve user's value as passed on make command line/etc.
This commit is contained in:
parent
e37ccfe59b
commit
7f9a62408d
@ -243,7 +243,7 @@ freedos:
|
||||
# build an interpreter for coverage testing and do the testing
|
||||
coverage:
|
||||
$(MAKE) \
|
||||
COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" \
|
||||
COPT="-O0" CFLAGS_EXTRA='$(CFLAGS_EXTRA) -DMP_CONFIGFILE="<mpconfigport_coverage.h>" \
|
||||
-fprofile-arcs -ftest-coverage \
|
||||
-Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wsign-compare \
|
||||
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
||||
|
Loading…
Reference in New Issue
Block a user