[CRIU] [PATCH 20/23] Makefile: don't compile with -O0 if GCOV=1

Kir Kolyshkin kir at openvz.org
Tue Oct 11 18:46:58 PDT 2016


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>
---
 Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile b/Makefile
index 66a36fd..803b3bf 100644
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,6 @@ export CFLAGS-GCOV
 
 ifeq ($(GCOV),1)
         LDFLAGS         += -lgcov
-        DEBUG           := 1
         CFLAGS          += $(CFLAGS-GCOV)
 endif
 
-- 
2.7.4



More information about the CRIU mailing list