qt5-qtbase/qtbase-multilib_optflags.patch

34 lines
1.2 KiB
Diff
Raw Normal View History

2015-11-15 12:11:10 +00:00
diff -r -u a/mkspecs/linux-g++/qmake.conf b/mkspecs/linux-g++/qmake.conf
--- a/mkspecs/linux-g++/qmake.conf 2015-10-30 06:20:01.000000000 -0200
+++ b/mkspecs/linux-g++/qmake.conf 2015-11-05 11:23:23.230741601 -0200
@@ -5,6 +5,7 @@
MAKEFILE_GENERATOR = UNIX
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublib
2013-03-19 18:42:45 +00:00
+QMAKE_CFLAGS_RELEASE += -O2
2015-11-15 12:11:10 +00:00
2013-03-19 18:42:45 +00:00
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
2015-11-15 12:11:10 +00:00
diff -r -u a/mkspecs/linux-g++-32/qmake.conf b/mkspecs/linux-g++-32/qmake.conf
--- a/mkspecs/linux-g++-32/qmake.conf 2015-10-30 06:20:01.000000000 -0200
+++ b/mkspecs/linux-g++-32/qmake.conf 2015-11-05 11:22:19.761494470 -0200
@@ -10,6 +10,7 @@
2013-03-19 18:42:45 +00:00
2015-11-15 12:11:10 +00:00
QMAKE_CFLAGS = -m32
QMAKE_LFLAGS = -m32
2013-03-19 18:42:45 +00:00
+QMAKE_CFLAGS_RELEASE += -O2
2015-11-15 12:11:10 +00:00
2013-03-19 18:42:45 +00:00
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
2015-11-15 12:11:10 +00:00
diff -r -u a/mkspecs/linux-g++-64/qmake.conf b/mkspecs/linux-g++-64/qmake.conf
--- a/mkspecs/linux-g++-64/qmake.conf 2015-10-30 06:20:01.000000000 -0200
+++ b/mkspecs/linux-g++-64/qmake.conf 2015-11-05 11:22:49.497610248 -0200
@@ -13,6 +13,7 @@
2013-03-19 18:42:45 +00:00
2015-11-15 12:11:10 +00:00
QMAKE_CFLAGS = -m64
QMAKE_LFLAGS = -m64
2013-03-19 18:42:45 +00:00
+QMAKE_CFLAGS_RELEASE += -O2
2015-11-15 12:11:10 +00:00
2013-03-19 18:42:45 +00:00
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)