diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-23 16:00:56 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-23 16:00:56 +0300 |
commit | 57c8c6a8613ffe1e96587e21b34249133e54e4d2 (patch) | |
tree | a95832bfa28a57a4dd7df2a86fc33a19d98fe4cc /dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch | |
parent | abbc99af90c96d4f50084e29633b32594b9bbfec (diff) |
qt 5.10 scm from qt repo
Diffstat (limited to 'dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch')
-rw-r--r-- | dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch b/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch new file mode 100644 index 0000000..7799ef7 --- /dev/null +++ b/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch @@ -0,0 +1,18 @@ +diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h +index 4b08194..224ddb1 100644 +--- a/src/qml/jsruntime/qv4global_p.h ++++ b/src/qml/jsruntime/qv4global_p.h +@@ -96,8 +96,13 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); } + # undef V4_ENABLE_JIT + #endif + #endif + ++// Gentoo note: disable the JIT due to USE="-jit" ++#ifdef V4_ENABLE_JIT ++#undef V4_ENABLE_JIT ++#endif ++ + // Do certain things depending on whether the JIT is enabled or disabled + + #ifdef V4_ENABLE_JIT + #define ENABLE_YARR_JIT 1 |