Commit 66de7ceb authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

build: Alive GCOV option

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 3cffd523
...@@ -81,6 +81,12 @@ CFLAGS += $(USERCFLAGS) ...@@ -81,6 +81,12 @@ CFLAGS += $(USERCFLAGS)
WARNINGS := -Wall WARNINGS := -Wall
ifeq ($(GCOV),1)
LDFLAGS += -lgcov
DEBUG := 1
CFLAGS += --coverage -fno-exceptions -fno-inline
endif
ifneq ($(WERROR),0) ifneq ($(WERROR),0)
WARNINGS += -Werror WARNINGS += -Werror
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment