Commit 501d8519 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

make: Switch to -02 by default

And turn on -O0 -ggdb3 only if DEBUG=1.
Optimization was turned off at early
prototype stage so no need to carry it
now.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6f589a4f
-include Makefile.inc
CFLAGS += -I./include
CFLAGS += -O0 -ggdb3
CFLAGS += -O2
LIBS += -lrt -lpthread
......@@ -14,6 +14,7 @@ endif
ifeq ($(DEBUG),1)
DEFINES += -DCR_DEBUG
CFLAGS += -O0 -ggdb3
endif
WARNINGS += -Wall -Wno-unused
......
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