Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > adbacdd4ba990c5160129dea067357af > files > 3

java-1.8.0-openjfx-1.8.0.111-1.b14.2.mga5.src.rpm

Description: Disable assembler in WebKit on unsupported architectures
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/modules/web/src/main/native/Source/WTF/wtf/Platform.h
+++ b/modules/web/src/main/native/Source/WTF/wtf/Platform.h
@@ -325,6 +325,12 @@
 #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
 #endif
 
+#if !CPU(ARM_THUMB2) && !CPU(ARM_TRADITIONAL) && !CPU(MIPS) && !CPU(X86) && !CPU(X86_64) && !CPU(SH4)
+#define ENABLE_ASSEMBLER 0
+#define ENABLE_JIT 0
+#define ENABLE_YARR_JIT 0
+#endif
+
 /* ==== OS() - underlying operating system; only to be used for mandated low-level services like
    virtual memory, not to choose a GUI toolkit ==== */