File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33if [[ -z ${EMSDK+z} ]]
44then
5+ pushd ${SDKROOT:-/ opt/ python-wasm-sdk}
56
67 . ${CONFIG:- config}
78
258259 # -mno-sign-ext not allowed with pthread
259260
260261 #WASMOPTS="-fno-wasm-exceptions -sSUPPORT_LONGJMP=emscripten"
261- #CPU="-mnontrapping-fptoint -mno-reference-types -mno-sign-ext -m32"
262+ #CPU="-mnontrapping-fptoint -mno-reference-types -mno-sign-ext -m32"
262263
263- CPU="-D_FILE_OFFSET_BITS=64 -sSUPPORT_LONGJMP=emscripten -mnontrapping-fptoint -mno-reference-types -mno-sign-ext -m32"
264+ CPU="-D_FILE_OFFSET_BITS=64 -sSUPPORT_LONGJMP=emscripten -mnontrapping-fptoint -mno-reference-types -mno-sign-ext -mno-bulk-memory - m32"
264265
265266else
266267 CPU="-D_FILE_OFFSET_BITS=64 -mcpu=bleeding-edge -m64"
558559 export EM_IGNORE_SANITY=1
559560
560561 export SYSROOT=$EMSDK /upstream/emscripten/cache/sysroot
561-
562+ popd
562563else
563564 echo " emsdk: config already set !" 1>&2
564565fi
You can’t perform that action at this time.
0 commit comments