qmake use -O2 optimization by default in release mode.

--HG--
branch : develop
This commit is contained in:
dismine 2014-09-20 19:18:41 +03:00
parent a8bb3e8161
commit daf4e4562a
3 changed files with 0 additions and 12 deletions

View File

@ -144,10 +144,6 @@ CONFIG(debug, debug|release){
DEFINES += "LOC_REV=0" DEFINES += "LOC_REV=0"
}else{ }else{
# Release # Release
*-g++{
QMAKE_CXXFLAGS += -O2
}
DEFINES += QT_NO_DEBUG_OUTPUT DEFINES += QT_NO_DEBUG_OUTPUT
#local revision number for using in version #local revision number for using in version

View File

@ -105,9 +105,5 @@ CONFIG(debug, debug|release){
}else{ }else{
# Release # Release
*-g++{
QMAKE_CXXFLAGS += -O2
}
DEFINES += QT_NO_DEBUG_OUTPUT DEFINES += QT_NO_DEBUG_OUTPUT
} }

View File

@ -148,9 +148,5 @@ CONFIG(debug, debug|release){
}else{ }else{
# Release # Release
*-g++{
QMAKE_CXXFLAGS += -O2
}
DEFINES += QT_NO_DEBUG_OUTPUT DEFINES += QT_NO_DEBUG_OUTPUT
} }