summaryrefslogtreecommitdiff
path: root/net-p2p/retroshare/files/cflags.patch
blob: 5bc8ce41152c74e85a63c359b9b08837a894a079 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
diff --git a/libbitdht/src/libbitdht.pro b/libbitdht/src/libbitdht.pro
index 738deea..cb7d53d 100644
--- a/libbitdht/src/libbitdht.pro
+++ b/libbitdht/src/libbitdht.pro
@@ -77,9 +77,9 @@ win32 {
 
 		# Switch off optimization for release version
 		QMAKE_CXXFLAGS_RELEASE -= -O2
-		QMAKE_CXXFLAGS_RELEASE += -O0
+		QMAKE_CXXFLAGS_RELEASE += 
 		QMAKE_CFLAGS_RELEASE -= -O2
-		QMAKE_CFLAGS_RELEASE += -O0
+		QMAKE_CFLAGS_RELEASE += 
 
 		# Switch on optimization for debug version
 		#QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/libretroshare/src/libretroshare.pro b/libretroshare/src/libretroshare.pro
index db7066c..f613a21 100644
--- a/libretroshare/src/libretroshare.pro
+++ b/libretroshare/src/libretroshare.pro
@@ -269,9 +269,9 @@ win32 {
 
 	# Switch off optimization for release version
 	QMAKE_CXXFLAGS_RELEASE -= -O2
-	QMAKE_CXXFLAGS_RELEASE += -O0
+	QMAKE_CXXFLAGS_RELEASE += 
 	QMAKE_CFLAGS_RELEASE -= -O2
-	QMAKE_CFLAGS_RELEASE += -O0
+	QMAKE_CFLAGS_RELEASE += 
 
 	# Switch on optimization for debug version
 	#QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/libretroshare/src/tests/gxs/data_service/nxs_tests.pro b/libretroshare/src/tests/gxs/data_service/nxs_tests.pro
index 8fa292c..116463a 100644
--- a/libretroshare/src/tests/gxs/data_service/nxs_tests.pro
+++ b/libretroshare/src/tests/gxs/data_service/nxs_tests.pro
@@ -101,9 +101,9 @@ win32 {
 
         # Switch off optimization for release version
         QMAKE_CXXFLAGS_RELEASE -= -O2
-        QMAKE_CXXFLAGS_RELEASE += -O0
+        QMAKE_CXXFLAGS_RELEASE += 
         QMAKE_CFLAGS_RELEASE -= -O2
-        QMAKE_CFLAGS_RELEASE += -O0
+        QMAKE_CFLAGS_RELEASE += 
 
         # Switch on optimization for debug version
         #QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/libretroshare/src/tests/gxs/gen_exchange/genexchange_test.pro b/libretroshare/src/tests/gxs/gen_exchange/genexchange_test.pro
index d95c4bc..aad0609 100644
--- a/libretroshare/src/tests/gxs/gen_exchange/genexchange_test.pro
+++ b/libretroshare/src/tests/gxs/gen_exchange/genexchange_test.pro
@@ -86,9 +86,9 @@ win32 {
 
         # Switch off optimization for release version
         QMAKE_CXXFLAGS_RELEASE -= -O2
-        QMAKE_CXXFLAGS_RELEASE += -O0
+        QMAKE_CXXFLAGS_RELEASE += 
         QMAKE_CFLAGS_RELEASE -= -O2
-        QMAKE_CFLAGS_RELEASE += -O0
+        QMAKE_CFLAGS_RELEASE += 
 
         # Switch on optimization for debug version
         #QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/libretroshare/src/tests/gxs/nxs_test/nxs_tests.pro b/libretroshare/src/tests/gxs/nxs_test/nxs_tests.pro
index 8fa292c..116463a 100644
--- a/libretroshare/src/tests/gxs/nxs_test/nxs_tests.pro
+++ b/libretroshare/src/tests/gxs/nxs_test/nxs_tests.pro
@@ -101,9 +101,9 @@ win32 {
 
         # Switch off optimization for release version
         QMAKE_CXXFLAGS_RELEASE -= -O2
-        QMAKE_CXXFLAGS_RELEASE += -O0
+        QMAKE_CXXFLAGS_RELEASE += 
         QMAKE_CFLAGS_RELEASE -= -O2
-        QMAKE_CFLAGS_RELEASE += -O0
+        QMAKE_CFLAGS_RELEASE += 
 
         # Switch on optimization for debug version
         #QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/openpgpsdk/src/openpgpsdk.pro b/openpgpsdk/src/openpgpsdk.pro
index d158cdc..09c4c84 100644
--- a/openpgpsdk/src/openpgpsdk.pro
+++ b/openpgpsdk/src/openpgpsdk.pro
@@ -23,9 +23,9 @@ win32 {
 
 	# Switch off optimization for release version
 	QMAKE_CXXFLAGS_RELEASE -= -O2
-	QMAKE_CXXFLAGS_RELEASE += -O0
+	QMAKE_CXXFLAGS_RELEASE += 
 	QMAKE_CFLAGS_RELEASE -= -O2
-	QMAKE_CFLAGS_RELEASE += -O0
+	QMAKE_CFLAGS_RELEASE += 
 
 	# Switch on optimization for debug version
 	#QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/plugins/Common/retroshare_plugin.pri b/plugins/Common/retroshare_plugin.pri
index cbfec1b..6e4a712 100644
--- a/plugins/Common/retroshare_plugin.pri
+++ b/plugins/Common/retroshare_plugin.pri
@@ -50,9 +50,9 @@ win32 {
 
 	# Switch off optimization for release version
 	QMAKE_CXXFLAGS_RELEASE -= -O2
-	QMAKE_CXXFLAGS_RELEASE += -O0
+	QMAKE_CXXFLAGS_RELEASE += 
 	QMAKE_CFLAGS_RELEASE -= -O2
-	QMAKE_CFLAGS_RELEASE += -O0
+	QMAKE_CFLAGS_RELEASE += 
 
 	# Switch on optimization for debug version
 	#QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/retroshare-gui/src/retroshare-gui.pro b/retroshare-gui/src/retroshare-gui.pro
index ea2bc97..885ae96 100644
--- a/retroshare-gui/src/retroshare-gui.pro
+++ b/retroshare-gui/src/retroshare-gui.pro
@@ -55,9 +55,9 @@ MOC_DIR = temp/moc
 debug {
 	QMAKE_CFLAGS += -g
 	QMAKE_CXXFLAGS -= -O2
-	QMAKE_CXXFLAGS += -O0
+	QMAKE_CXXFLAGS += 
 	QMAKE_CFLAGS -= -O2
-	QMAKE_CFLAGS += -O0
+	QMAKE_CFLAGS += 
 }
 
 DEPENDPATH *= retroshare-gui
@@ -180,9 +180,9 @@ win32 {
 
 	# Switch off optimization for release version
 	QMAKE_CXXFLAGS_RELEASE -= -O2
-	QMAKE_CXXFLAGS_RELEASE += -O0
+	QMAKE_CXXFLAGS_RELEASE += 
 	QMAKE_CFLAGS_RELEASE -= -O2
-	QMAKE_CFLAGS_RELEASE += -O0
+	QMAKE_CFLAGS_RELEASE += 
 
 	# Switch on optimization for debug version
 	#QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/retroshare-nogui/src/retroshare-nogui.pro b/retroshare-nogui/src/retroshare-nogui.pro
index 358cb65..5d9ddbe 100644
--- a/retroshare-nogui/src/retroshare-nogui.pro
+++ b/retroshare-nogui/src/retroshare-nogui.pro
@@ -10,11 +10,11 @@ CONFIG += link_prl
 #CONFIG += debug
 debug {
         QMAKE_CFLAGS -= -O2
-        QMAKE_CFLAGS += -O0
+        QMAKE_CFLAGS += 
         QMAKE_CFLAGS += -g
 
         QMAKE_CXXFLAGS -= -O2
-        QMAKE_CXXFLAGS += -O0
+        QMAKE_CXXFLAGS += 
         QMAKE_CXXFLAGS += -g
 }
 
diff --git a/supportlibs/pegmarkdown/pegmarkdown.pro b/supportlibs/pegmarkdown/pegmarkdown.pro
index cc21cca..727236c 100644
--- a/supportlibs/pegmarkdown/pegmarkdown.pro
+++ b/supportlibs/pegmarkdown/pegmarkdown.pro
@@ -40,7 +40,7 @@ win32 {
 
 		# Switch off optimization for release version
 		QMAKE_CFLAGS_RELEASE -= -O2
-		QMAKE_CFLAGS_RELEASE += -O0
+		QMAKE_CFLAGS_RELEASE += 
 
 		CONFIG += dummy_glib 
 
diff --git a/tests/librssimulator/librssimulator.pro b/tests/librssimulator/librssimulator.pro
index 94c942f..51e9c3f 100644
--- a/tests/librssimulator/librssimulator.pro
+++ b/tests/librssimulator/librssimulator.pro
@@ -160,9 +160,9 @@ win32 {
 
 	# Switch off optimization for release version
 	QMAKE_CXXFLAGS_RELEASE -= -O2
-	QMAKE_CXXFLAGS_RELEASE += -O0
+	QMAKE_CXXFLAGS_RELEASE += 
 	QMAKE_CFLAGS_RELEASE -= -O2
-	QMAKE_CFLAGS_RELEASE += -O0
+	QMAKE_CFLAGS_RELEASE += 
 
 	# Switch on optimization for debug version
 	#QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/tests/unittests/libretroshare/gxs/gen_exchange/genexchange_test.pro b/tests/unittests/libretroshare/gxs/gen_exchange/genexchange_test.pro
index d95c4bc..aad0609 100644
--- a/tests/unittests/libretroshare/gxs/gen_exchange/genexchange_test.pro
+++ b/tests/unittests/libretroshare/gxs/gen_exchange/genexchange_test.pro
@@ -86,9 +86,9 @@ win32 {
 
         # Switch off optimization for release version
         QMAKE_CXXFLAGS_RELEASE -= -O2
-        QMAKE_CXXFLAGS_RELEASE += -O0
+        QMAKE_CXXFLAGS_RELEASE += 
         QMAKE_CFLAGS_RELEASE -= -O2
-        QMAKE_CFLAGS_RELEASE += -O0
+        QMAKE_CFLAGS_RELEASE += 
 
         # Switch on optimization for debug version
         #QMAKE_CXXFLAGS_DEBUG += -O2
diff --git a/tests/unittests/unittests.pro b/tests/unittests/unittests.pro
index 790ab1c..04a74ab 100644
--- a/tests/unittests/unittests.pro
+++ b/tests/unittests/unittests.pro
@@ -121,9 +121,9 @@ win32 {
 
 	# Switch off optimization for release version
 	QMAKE_CXXFLAGS_RELEASE -= -O2
-	QMAKE_CXXFLAGS_RELEASE += -O0
+	QMAKE_CXXFLAGS_RELEASE += 
 	QMAKE_CFLAGS_RELEASE -= -O2
-	QMAKE_CFLAGS_RELEASE += -O0
+	QMAKE_CFLAGS_RELEASE += 
 
 	# Switch on optimization for debug version
 	#QMAKE_CXXFLAGS_DEBUG += -O2