build: Simplify coverage configuration
Use -coverage option and keep NDEBUG off
This commit is contained in:
parent
ce4ac17780
commit
1d854cd420
5
Makefile
5
Makefile
@ -20,9 +20,8 @@ ifeq ($(config),release)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(config),coverage)
|
ifeq ($(config),coverage)
|
||||||
CXXFLAGS+=-DNDEBUG
|
CXXFLAGS+=-coverage
|
||||||
CXXFLAGS+=-fprofile-arcs -ftest-coverage
|
LDFLAGS+=-coverage
|
||||||
LDFLAGS+=-fprofile-arcs
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(config),sanitize)
|
ifeq ($(config),sanitize)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user