diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -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) |
| 151 | WASMCFLAGS="-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L $(maybe_pthread) | 151 | WASMCFLAGS="-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L $(maybe_pthread)" |
| 152 | -mfpu=neon -mrelaxed-simd" | ||
| 153 | WASMCPPFLAGS="-std=c++20 $(maybe_pthread)" | 152 | WASMCPPFLAGS="-std=c++20 $(maybe_pthread)" |
| 154 | WASMDBGFLAGS="-sASSERTIONS" | 153 | WASMDBGFLAGS="-sASSERTIONS" |
| 155 | WASMMFLAGS="-DTHREADS=$THREADS -DNEON" | 154 | WASMMFLAGS="-DTHREADS=$THREADS -DPORTABLE" |
| 156 | WASMLINKFLAGS="--no-entry -sEXPORT_NAME='Nissy' -sMODULARIZE | 155 | WASMLINKFLAGS="--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 |
