From daf4e4562a2816c7f0d28df3ba9d5725652f92dc Mon Sep 17 00:00:00 2001 From: dismine Date: Sat, 20 Sep 2014 19:18:41 +0300 Subject: [PATCH] qmake use -O2 optimization by default in release mode. --HG-- branch : develop --- src/app/app.pro | 4 ---- src/libs/qmuparser/qmuparser.pro | 4 ---- src/libs/vpropertyexplorer/vpropertyexplorer.pro | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/app/app.pro b/src/app/app.pro index 46934156a..ff1c73884 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -144,10 +144,6 @@ CONFIG(debug, debug|release){ DEFINES += "LOC_REV=0" }else{ # Release - *-g++{ - QMAKE_CXXFLAGS += -O2 - } - DEFINES += QT_NO_DEBUG_OUTPUT #local revision number for using in version diff --git a/src/libs/qmuparser/qmuparser.pro b/src/libs/qmuparser/qmuparser.pro index d2651f04d..c60eb473a 100644 --- a/src/libs/qmuparser/qmuparser.pro +++ b/src/libs/qmuparser/qmuparser.pro @@ -105,9 +105,5 @@ CONFIG(debug, debug|release){ }else{ # Release - *-g++{ - QMAKE_CXXFLAGS += -O2 - } - DEFINES += QT_NO_DEBUG_OUTPUT } diff --git a/src/libs/vpropertyexplorer/vpropertyexplorer.pro b/src/libs/vpropertyexplorer/vpropertyexplorer.pro index b45f272e0..e2fea1fbc 100644 --- a/src/libs/vpropertyexplorer/vpropertyexplorer.pro +++ b/src/libs/vpropertyexplorer/vpropertyexplorer.pro @@ -148,9 +148,5 @@ CONFIG(debug, debug|release){ }else{ # Release - *-g++{ - QMAKE_CXXFLAGS += -O2 - } - DEFINES += QT_NO_DEBUG_OUTPUT }