blob: 84f5037705576c5059e7bc1a4b61f097e38fc571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
--- criu-1.3.1/Makefile
+++ criu-1.3.1/Makefile
@@ -102,9 +102,6 @@
ifeq ($(DEBUG),1)
DEFINES += -DCR_DEBUG
- CFLAGS += -O0 -ggdb3
-else
- CFLAGS += -O2
endif
ifeq ($(GMON),1)
--- criu-1.3.1/test/zdtm/lib/Makefile
+++ criu-1.3.1/test/zdtm/lib/Makefile
@@ -1,6 +1,6 @@
include ../Makefile.inc
-CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+CFLAGS = -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
CFLAGS += $(USERCFLAGS)
LIBDIR = .
--- criu-1.3.1/test/zdtm/live/static/Makefile
+++ criu-1.3.1/test/zdtm/live/static/Makefile
@@ -3,7 +3,7 @@
LIBDIR = ../../lib
LIB = $(LIBDIR)/libzdtmtst.a
override CPPFLAGS += -I$(LIBDIR)
-CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+CFLAGS = -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
CFLAGS += $(USERCFLAGS)
TST_NOFILE = \
--- criu-1.3.1/test/zdtm/live/streaming/Makefile
+++ criu-1.3.1/test/zdtm/live/streaming/Makefile
@@ -3,7 +3,7 @@
LIBDIR = ../../lib
LIB = $(LIBDIR)/libzdtmtst.a
override CPPFLAGS += -I$(LIBDIR)
-CFLAGS = -g -O2 -Wall -Werror -fno-strict-aliasing
+CFLAGS = -Wall -fno-strict-aliasing
CFLAGS += $(USERCFLAGS)
TST_NOFILE = \
--- criu-1.3.1/test/zdtm/live/transition/Makefile
+++ criu-1.3.1/test/zdtm/live/transition/Makefile
@@ -3,7 +3,7 @@
LIBDIR = ../../lib
LIB = $(LIBDIR)/libzdtmtst.a
override CPPFLAGS += -I$(LIBDIR)
-CFLAGS = -g -O2 -Wall -Werror
+CFLAGS = -Wall
CFLAGS += $(USERCFLAGS)
TST_NOFILE = \
|