Commit 9fb43a48 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

Makefile: don't compile with -O0 if GCOV=1

I found that everything we test on travis-ci is built with -O0.
I believe this is the wrong thing to do as we test something that is
compiled not the way it would be compiled for any real use.

Drop enabling DEBUG for GCOV.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 2f2fc082
......@@ -112,7 +112,6 @@ export CFLAGS-GCOV
ifeq ($(GCOV),1)
LDFLAGS += -lgcov
DEBUG := 1
CFLAGS += $(CFLAGS-GCOV)
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