void-packages/srcpkgs/firefox/patches/fix-wasm-arm.patch

16 lines
480 B
Diff
Raw Normal View History

2019-03-19 01:53:54 +00:00
--- js/src/wasm/WasmSignalHandlers.cpp
+++ js/src/wasm/WasmSignalHandlers.cpp
2019-05-21 11:12:42 +00:00
@@ -243,9 +243,9 @@
// If you run into compile problems on a tier-3 platform, you can disable the
// emulation here.
2019-03-19 01:53:54 +00:00
-#if defined(__linux__) && defined(__arm__)
2019-05-21 11:12:42 +00:00
-# define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
-#endif
+// #if defined(__linux__) && defined(__arm__)
+// # define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
+// #endif
2019-03-19 01:53:54 +00:00
2019-05-21 11:12:42 +00:00
#ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
# include <sys/user.h>