Skip to content

Commit bcf1c45

Browse files
committed
refactor build_wasm script for shell
1 parent 360213d commit bcf1c45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build_wasm.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#!/bin/sh
22

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

0 commit comments

Comments
 (0)