summaryrefslogtreecommitdiffstats
path: root/tools/configure/configureapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r--tools/configure/configureapp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 914e7c9bfd..416fd4cb04 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -1663,6 +1663,7 @@ void Configure::applySpecSpecifics()
dictionary[ "REDUCE_RELOCATIONS" ] = "yes";
dictionary[ "QT_GETIFADDRS" ] = "no";
dictionary[ "QT_XKBCOMMON" ] = "no";
+ dictionary[ "JAVASCRIPTCORE_JIT" ] = "no";
}
}
@@ -2648,6 +2649,12 @@ void Configure::generateOutputVars()
if (!dictionary["QT_LFLAGS_SQLITE"].isEmpty())
qmakeVars += "QT_LFLAGS_SQLITE += " + formatPath(dictionary["QT_LFLAGS_SQLITE"]);
+ if (dictionary["JAVASCRIPTCORE_JIT"] == "no")
+ qmakeVars += "JAVASCRIPTCORE_JIT = no";
+ else if (dictionary["JAVASCRIPTCORE_JIT"] == "yes")
+ qmakeVars += "JAVASCRIPTCORE_JIT = yes";
+ // else let JavaScriptCore decide
+
if (dictionary[ "OPENGL" ] == "yes")
qtConfig += "opengl";