aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 7cd38e3..502dbcf 100755
--- a/build.sh
+++ b/build.sh
@@ -148,11 +148,10 @@ CPPFLAGS="-std=c++20 $(maybe_pthread)"
148# The options below have to be adjusted when native WASM_SIMD is implemented. 148# The options below have to be adjusted when native WASM_SIMD is implemented.
149 149
150# Build flags for emscripten (WASM target) 150# Build flags for emscripten (WASM target)
151WASMCFLAGS="-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L $(maybe_pthread) 151WASMCFLAGS="-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L $(maybe_pthread)"
152 -mfpu=neon -mrelaxed-simd"
153WASMCPPFLAGS="-std=c++20 $(maybe_pthread)" 152WASMCPPFLAGS="-std=c++20 $(maybe_pthread)"
154WASMDBGFLAGS="-sASSERTIONS" 153WASMDBGFLAGS="-sASSERTIONS"
155WASMMFLAGS="-DTHREADS=$THREADS -DNEON" 154WASMMFLAGS="-DTHREADS=$THREADS -DPORTABLE"
156WASMLINKFLAGS="--no-entry -sEXPORT_NAME='Nissy' -sMODULARIZE 155WASMLINKFLAGS="--no-entry -sEXPORT_NAME='Nissy' -sMODULARIZE
157 -sEXPORTED_RUNTIME_METHODS=addFunction,UTF8ToString 156 -sEXPORTED_RUNTIME_METHODS=addFunction,UTF8ToString
158 -sALLOW_TABLE_GROWTH 157 -sALLOW_TABLE_GROWTH

Generated with cgit - Back to sebastiano.tronto.net