qt5-qtbase/qtbase-multilib_optflags.patch

40 lines
1.3 KiB
Diff
Raw Normal View History

2014-05-21 10:03:59 +00:00
diff --git a/mkspecs/linux-g++-32/qmake.conf b/mkspecs/linux-g++-32/qmake.conf
index 340aa85..571a559 100644
--- a/mkspecs/linux-g++-32/qmake.conf
+++ b/mkspecs/linux-g++-32/qmake.conf
2013-03-19 18:42:45 +00:00
@@ -9,6 +9,8 @@ QMAKE_INCREMENTAL_STYLE = sublib
2013-08-28 14:15:35 +00:00
QMAKE_CFLAGS = -m32
QMAKE_LFLAGS = -m32
2013-03-19 18:42:45 +00:00
+QMAKE_CFLAGS_RELEASE += -O2
+
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
2014-05-21 10:03:59 +00:00
diff --git a/mkspecs/linux-g++-64/qmake.conf b/mkspecs/linux-g++-64/qmake.conf
index 36fb6a8..9a07595 100644
--- a/mkspecs/linux-g++-64/qmake.conf
+++ b/mkspecs/linux-g++-64/qmake.conf
2013-03-19 18:42:45 +00:00
@@ -12,6 +12,8 @@ QMAKE_INCREMENTAL_STYLE = sublib
2013-08-28 14:15:35 +00:00
QMAKE_CFLAGS = -m64
QMAKE_LFLAGS = -m64
2013-03-19 18:42:45 +00:00
+QMAKE_CFLAGS_RELEASE += -O2
+
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
2014-05-21 10:03:59 +00:00
diff --git a/mkspecs/linux-g++/qmake.conf b/mkspecs/linux-g++/qmake.conf
index 35bce8f..5186f98 100644
--- a/mkspecs/linux-g++/qmake.conf
+++ b/mkspecs/linux-g++/qmake.conf
2013-08-28 14:15:35 +00:00
@@ -6,6 +6,8 @@ MAKEFILE_GENERATOR = UNIX
2014-05-21 10:03:59 +00:00
CONFIG += incremental
2013-03-19 18:42:45 +00:00
QMAKE_INCREMENTAL_STYLE = sublib
+QMAKE_CFLAGS_RELEASE += -O2
+
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)