summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/retroshare/files/cflags.patch366
1 files changed, 257 insertions, 109 deletions
diff --git a/net-p2p/retroshare/files/cflags.patch b/net-p2p/retroshare/files/cflags.patch
index 5bc8ce4..ef76ad7 100644
--- a/net-p2p/retroshare/files/cflags.patch
+++ b/net-p2p/retroshare/files/cflags.patch
@@ -1,219 +1,367 @@
diff --git a/libbitdht/src/libbitdht.pro b/libbitdht/src/libbitdht.pro
-index 738deea..cb7d53d 100644
+index d9e5816c4..916bc6ca5 100644
--- a/libbitdht/src/libbitdht.pro
+++ b/libbitdht/src/libbitdht.pro
-@@ -77,9 +77,9 @@ win32 {
+@@ -69,14 +69,14 @@ win32 {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+ }
+
+ ################################# MacOSX ##########################################
diff --git a/libretroshare/src/libretroshare.pro b/libretroshare/src/libretroshare.pro
-index db7066c..f613a21 100644
+index fa9491c63..9063efd43 100644
--- a/libretroshare/src/libretroshare.pro
+++ b/libretroshare/src/libretroshare.pro
-@@ -269,9 +269,9 @@ win32 {
+@@ -27,7 +27,7 @@ debug {
+ # DEFINES *= P3TURTLE_DEBUG FT_DEBUG DEBUG_FTCHUNK MPLEX_DEBUG
+ # DEFINES *= STATUS_DEBUG SERV_DEBUG RSSERIAL_DEBUG #CONN_DEBUG
+
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
+ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
+ }
+
+@@ -251,14 +251,14 @@ win32-g++ {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ DEFINES += USE_CMD_ARGS
+
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
+index 8fa292c61..cfa6a7d83 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 {
+@@ -53,7 +53,7 @@ debug {
+ # DEFINES *= P3TURTLE_DEBUG FT_DEBUG DEBUG_FTCHUNK MPLEX_DEBUG
+ # DEFINES *= STATUS_DEBUG SERV_DEBUG RSSERIAL_DEBUG #CONN_DEBUG
+
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
+ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
+ }
+ ################################# Linux ##########################################
+@@ -100,14 +100,14 @@ win32 {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ # PRE_TARGETDEPS += ../../libretroshare/src/lib/libretroshare.a
+ PRE_TARGETDEPS += ../../../../libretroshare/libretroshare-build-desktop/lib/libretroshare.a
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
+index d95c4bcd4..82f921fc8 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 {
+@@ -36,7 +36,7 @@ debug {
+ # DEFINES *= P3TURTLE_DEBUG FT_DEBUG DEBUG_FTCHUNK MPLEX_DEBUG
+ # DEFINES *= STATUS_DEBUG SERV_DEBUG RSSERIAL_DEBUG #CONN_DEBUG
+
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
+ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
+ }
+ ################################# Linux ##########################################
+@@ -85,14 +85,14 @@ win32 {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ # PRE_TARGETDEPS += ../../libretroshare/src/lib/libretroshare.a
+ PRE_TARGETDEPS += ../../../../../libretroshare/libretroshare-build-desktop/lib/libretroshare.a
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
+index 8fa292c61..cfa6a7d83 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 {
+@@ -53,7 +53,7 @@ debug {
+ # DEFINES *= P3TURTLE_DEBUG FT_DEBUG DEBUG_FTCHUNK MPLEX_DEBUG
+ # DEFINES *= STATUS_DEBUG SERV_DEBUG RSSERIAL_DEBUG #CONN_DEBUG
+
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
+ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
+ }
+ ################################# Linux ##########################################
+@@ -100,14 +100,14 @@ win32 {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ # PRE_TARGETDEPS += ../../libretroshare/src/lib/libretroshare.a
+ PRE_TARGETDEPS += ../../../../libretroshare/libretroshare-build-desktop/lib/libretroshare.a
diff --git a/openpgpsdk/src/openpgpsdk.pro b/openpgpsdk/src/openpgpsdk.pro
-index d158cdc..09c4c84 100644
+index f667a0d23..5975a7bfb 100644
--- a/openpgpsdk/src/openpgpsdk.pro
+++ b/openpgpsdk/src/openpgpsdk.pro
-@@ -23,9 +23,9 @@ win32 {
+@@ -26,10 +26,10 @@ win32-g++ {
+ DEFINES *= WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
- # Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+ mLibs = bz2 z ssl crypto
+ static {
diff --git a/plugins/Common/retroshare_plugin.pri b/plugins/Common/retroshare_plugin.pri
-index cbfec1b..6e4a712 100644
+index c6124862c..8a322aae4 100644
--- a/plugins/Common/retroshare_plugin.pri
+++ b/plugins/Common/retroshare_plugin.pri
-@@ -50,9 +50,9 @@ win32 {
+@@ -49,14 +49,14 @@ win32 {
+ # DESTDIR = lib
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ DEFINES += USE_CMD_ARGS
+
diff --git a/retroshare-gui/src/retroshare-gui.pro b/retroshare-gui/src/retroshare-gui.pro
-index ea2bc97..885ae96 100644
+index 30b2af946..1a721643e 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 {
+@@ -170,14 +170,14 @@ win32-g++ {
+ QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ 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
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ OBJECTS_DIR = temp/obj
+
+diff --git a/retroshare.pri b/retroshare.pri
+index c4f47aedf..6b1f0961f 100644
+--- a/retroshare.pri
++++ b/retroshare.pri
+@@ -308,11 +308,11 @@ rs_chatserver {
+ }
+
debug {
- QMAKE_CFLAGS -= -O2
-- QMAKE_CFLAGS += -O0
-+ QMAKE_CFLAGS +=
- QMAKE_CFLAGS += -g
-
- QMAKE_CXXFLAGS -= -O2
-- QMAKE_CXXFLAGS += -O0
-+ QMAKE_CXXFLAGS +=
- QMAKE_CXXFLAGS += -g
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
+- QMAKE_CFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
++ QMAKE_CFLAGS -= -fomit-frame-pointer
+
+- QMAKE_CXXFLAGS *= -O0 -g -fno-omit-frame-pointer
+- QMAKE_CFLAGS *= -O0 -g -fno-omit-frame-pointer
++ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
++ QMAKE_CFLAGS *= -g -fno-omit-frame-pointer
}
+ profiling {
diff --git a/supportlibs/pegmarkdown/pegmarkdown.pro b/supportlibs/pegmarkdown/pegmarkdown.pro
-index cc21cca..727236c 100644
+index cc21ccaf3..9fc25562c 100644
--- a/supportlibs/pegmarkdown/pegmarkdown.pro
+++ b/supportlibs/pegmarkdown/pegmarkdown.pro
-@@ -40,7 +40,7 @@ win32 {
+@@ -10,7 +10,7 @@ QMAKE_CC = gcc
+
+ #CONFIG += debug
+ debug {
+- QMAKE_CFLAGS -= -O2
++ QMAKE_CFLAGS -=
+ QMAKE_CFLAGS *= -g
+ }
+
+@@ -39,8 +39,8 @@ win32 {
+ QMAKE_CFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
CONFIG += dummy_glib
diff --git a/tests/librssimulator/librssimulator.pro b/tests/librssimulator/librssimulator.pro
-index 94c942f..51e9c3f 100644
+index 94c942f53..e7432ca38 100644
--- a/tests/librssimulator/librssimulator.pro
+++ b/tests/librssimulator/librssimulator.pro
-@@ -160,9 +160,9 @@ win32 {
+@@ -14,7 +14,7 @@ profiling {
+
+
+ debug {
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
+ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
+ }
+
+@@ -159,14 +159,14 @@ win32 {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ DEFINES += USE_CMD_ARGS
+
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
+index d95c4bcd4..82f921fc8 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 {
+@@ -36,7 +36,7 @@ debug {
+ # DEFINES *= P3TURTLE_DEBUG FT_DEBUG DEBUG_FTCHUNK MPLEX_DEBUG
+ # DEFINES *= STATUS_DEBUG SERV_DEBUG RSSERIAL_DEBUG #CONN_DEBUG
+
+- QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
++ QMAKE_CXXFLAGS -= -fomit-frame-pointer
+ QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
+ }
+ ################################# Linux ##########################################
+@@ -85,14 +85,14 @@ win32 {
+ QMAKE_CXXFLAGS += -Wextra
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ # PRE_TARGETDEPS += ../../libretroshare/src/lib/libretroshare.a
+ PRE_TARGETDEPS += ../../../../../libretroshare/libretroshare-build-desktop/lib/libretroshare.a
diff --git a/tests/unittests/unittests.pro b/tests/unittests/unittests.pro
-index 790ab1c..04a74ab 100644
+index c17be5b77..6721f39d7 100644
--- a/tests/unittests/unittests.pro
+++ b/tests/unittests/unittests.pro
-@@ -121,9 +121,9 @@ win32 {
+@@ -120,14 +120,14 @@ win32 {
+ QMAKE_LFLAGS += -Wl,--start-group
# Switch off optimization for release version
- QMAKE_CXXFLAGS_RELEASE -= -O2
+- QMAKE_CXXFLAGS_RELEASE -= -O2
- QMAKE_CXXFLAGS_RELEASE += -O0
-+ QMAKE_CXXFLAGS_RELEASE +=
- QMAKE_CFLAGS_RELEASE -= -O2
+- QMAKE_CFLAGS_RELEASE -= -O2
- QMAKE_CFLAGS_RELEASE += -O0
-+ QMAKE_CFLAGS_RELEASE +=
++ QMAKE_CXXFLAGS_RELEASE -=
++ QMAKE_CXXFLAGS_RELEASE +=
++ QMAKE_CFLAGS_RELEASE -=
++ QMAKE_CFLAGS_RELEASE +=
# Switch on optimization for debug version
- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CXXFLAGS_DEBUG += -O2
+- #QMAKE_CFLAGS_DEBUG += -O2
++ #QMAKE_CXXFLAGS_DEBUG +=
++ #QMAKE_CFLAGS_DEBUG +=
+
+ OBJECTS_DIR = temp/obj
+ #LIBS += -L"D/Qt/2009.03/qt/plugins/imageformats"