Browse files

enable optimization options for release and add c++11 warnings to deb…

…ug build
  • Loading branch information...
1 parent 3718374 commit 13be664aad10ed03b31fe380911bbbc2cb0e0f9f @kallaballa committed Jun 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 common.pri
View
4 common.pri
@@ -23,10 +23,10 @@ macx {
}
CONFIG(debug, debug|release) {
-QMAKE_CXXFLAGS_DEBUG += -g3 -O0 -ggdb
+QMAKE_CXXFLAGS_DEBUG += -g3 -O0 -ggdb -Wc++0x-compat
message("DEBUG!")
} else {
-QMAKE_CXXFLAGS += -fprefetch-loop-arrays
+QMAKE_CXXFLAGS += -msse2 -fprefetch-loop-arrays
DEFINES += QT_NO_DEBUG
DEFINES += QT_NO_DEBUG_OUTPUT
message("RELEASE!")

0 comments on commit 13be664

Please sign in to comment.