aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml.pro
diff options
context:
space:
mode:
authorJulien Brianceau <jbriance@cisco.com>2015-04-15 09:40:37 +0200
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-04-27 15:59:09 +0000
commit9d5627ff648cd578c54625dba5158f450779ea8b (patch)
treedefda99be82e4d9f58ecd5006203ea4743ae6e19 /src/qml/qml.pro
parent5d2f97791ccff58bb945acbc28df65fa0521a1f6 (diff)
V4: add JIT support for mips platforms (32-bit) and enable it
[ChangeLog][QtQml] Enabled Just-In-Time compilation for JavaScript on MIPS Change-Id: Idce070f29645760d6376767ef67e4592828c104d Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml.pro')
-rw-r--r--src/qml/qml.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml.pro b/src/qml/qml.pro
index cfb08da6a1..d75262bf0b 100644
--- a/src/qml/qml.pro
+++ b/src/qml/qml.pro
@@ -8,6 +8,9 @@ win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
win32:!wince*:!winrt:LIBS += -lshell32
solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
+# Ensure this gcc optimization is switched off for mips platforms to avoid trouble with JIT.
+gcc:isEqual(QT_ARCH, "mips"): QMAKE_CXXFLAGS += -fno-reorder-blocks
+
MODULE_PLUGIN_TYPES = \
qmltooling