build: Simplify coverage configuration

Use -coverage option and keep NDEBUG off
This commit is contained in:
Arseny Kapoulkine 2015-08-25 08:12:54 -07:00
parent ce4ac17780
commit 1d854cd420

View File

@ -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)