Skip to content

Commit

Permalink
refactor build_wasm script for shell
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Apr 24, 2024
1 parent 360213d commit bcf1c45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_wasm.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh

EMCC_CFLAGS="-I/emsdk/upstream/include -L/emsdk/upstream/lib -sINITIAL_MEMORY=26214400" EMCC_FORCE_STDLIBS="libc emmake make" $1
export EMCC_CFLAGS="-I/emsdk/upstream/include -L/emsdk/upstream/lib -sINITIAL_MEMORY=26214400"
export EMCC_FORCE_STDLIBS="libc"

emmake make $1

0 comments on commit bcf1c45

Please sign in to comment.