diff options
Diffstat (limited to 'unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch')
-rw-r--r-- | unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch b/unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch new file mode 100644 index 0000000000..3e2d534a89 --- /dev/null +++ b/unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Description: Disable assembler in WebKit on unsupported architectures | ||
2 | Author: Emmanuel Bourg <ebourg@apache.org> | ||
3 | Forwarded: no | ||
4 | Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/07-disable-assembler-on-unsupported-archs.patch | ||
5 | --- old/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h | ||
6 | +++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h | ||
7 | @@ -357,6 +357,12 @@ | ||
8 | #endif | ||
9 | #endif | ||
10 | |||
11 | +#if !CPU(ARM_THUMB2) && !CPU(ARM_TRADITIONAL) && !CPU(X86) && !CPU(X86_64) && !CPU(SH4) | ||
12 | +#define ENABLE_ASSEMBLER 0 | ||
13 | +#define ENABLE_JIT 0 | ||
14 | +#define ENABLE_YARR_JIT 0 | ||
15 | +#endif | ||
16 | + | ||
17 | /* ==== OS() - underlying operating system; only to be used for mandated low-level services like | ||
18 | virtual memory, not to choose a GUI toolkit ==== */ | ||
19 | |||