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
ifeq ($(config),coverage)
CXXFLAGS+=-DNDEBUG
CXXFLAGS+=-fprofile-arcs -ftest-coverage
LDFLAGS+=-fprofile-arcs
CXXFLAGS+=-coverage
LDFLAGS+=-coverage
endif
ifeq ($(config),sanitize)