qmake use -O2 optimization by default in release mode.
--HG-- branch : develop
This commit is contained in:
parent
a8bb3e8161
commit
daf4e4562a
|
@ -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
|
||||
|
|
|
@ -105,9 +105,5 @@ CONFIG(debug, debug|release){
|
|||
|
||||
}else{
|
||||
# Release
|
||||
*-g++{
|
||||
QMAKE_CXXFLAGS += -O2
|
||||
}
|
||||
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
}
|
||||
|
|
|
@ -148,9 +148,5 @@ CONFIG(debug, debug|release){
|
|||
|
||||
}else{
|
||||
# Release
|
||||
*-g++{
|
||||
QMAKE_CXXFLAGS += -O2
|
||||
}
|
||||
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user