]> git.pld-linux.org Git - packages/mozjs78.git/blame - arm.patch
- updated to 78.14.0
[packages/mozjs78.git] / arm.patch
CommitLineData
4a319c65
JP
1From: Jordan Petridis <jordan@centricular.com>
2Date: Sun, 16 Feb 2020 21:42:42 +0000
3Subject: sdk/mozjs68: import a patch to workaround arm compilation issue
4
5Our glibc headers don't include the expected structs needed
6to compile the code. The primary target of this code seems
7to be Android.
8
9Bug-Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1526653
10Origin: https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/master/files/mozjs68/armv7_disable_WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS.patch
11---
12 js/src/wasm/WasmSignalHandlers.cpp | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
16index a6610f3..78941bf 100644
17--- a/js/src/wasm/WasmSignalHandlers.cpp
18+++ b/js/src/wasm/WasmSignalHandlers.cpp
19@@ -244,7 +244,7 @@ using mozilla::DebugOnly;
20 // If you run into compile problems on a tier-3 platform, you can disable the
21 // emulation here.
22
23-#if defined(__linux__) && defined(__arm__)
24+#if 0 && defined(__linux__) && defined(__arm__)
25 # define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
26 #endif
27
This page took 0.071617 seconds and 4 git commands to generate.