summaryrefslogtreecommitdiffstats
path: root/debian/patches/disable-simd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable-simd.patch')
-rw-r--r--debian/patches/disable-simd.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/disable-simd.patch b/debian/patches/disable-simd.patch
new file mode 100644
index 0000000..ea90314
--- /dev/null
+++ b/debian/patches/disable-simd.patch
@@ -0,0 +1,20 @@
+Description: disable SIMD build
+Author: Yadd <yadd@debian.org>
+Forwarded: not-needed
+Last-Update: 2022-07-09
+
+--- a/build/wasm.js
++++ b/build/wasm.js
+@@ -74,6 +74,7 @@
+ `module.exports = '${base64Wasm}'\n`
+ )
+
++/*
+ // Build wasm simd binary
+ execSync(`${CLANG} \
+ -nodefaultlibs \
+@@ -104,3 +105,4 @@
+ join(WASM_OUT, 'llhttp_simd-wasm.js'),
+ `module.exports = '${base64WasmSimd}'\n`
+ )
++*/