[CRIU] [crtools-bot] Revert "make: Switch to -02 by default"

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 1 10:27:17 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 57454c524b13e70dff1aaf09267954f4cd9ad0b8
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Wed Feb 1 19:00:02 2012 +0400

    Revert "make: Switch to -02 by default"
    
    This reverts commit 501d85193cb356f6f6849af02814982356d18b73.
    
    Need to investigate code generated for parasite since dumper fails.
---
 Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3cbef29..58e7162 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 -include Makefile.inc
 
 CFLAGS		+= -I./include
-CFLAGS		+= -O2
+CFLAGS		+= -O0 -ggdb3
 
 LIBS		+= -lrt -lpthread
 
@@ -14,7 +14,6 @@ endif
 
 ifeq ($(DEBUG),1)
 	DEFINES += -DCR_DEBUG
-	CFLAGS	+= -O0 -ggdb3
 endif
 
 WARNINGS	+= -Wall -Wno-unused


More information about the CRIU mailing list