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 2
2
3
3
if [[ -z ${EMSDK+z} ]]
4
4
then
5
+ pushd ${SDKROOT:-/ opt/ python-wasm-sdk}
5
6
6
7
. ${CONFIG:- config}
7
8
258
259
# -mno-sign-ext not allowed with pthread
259
260
260
261
#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"
262
263
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"
264
265
265
266
else
266
267
CPU="-D_FILE_OFFSET_BITS=64 -mcpu=bleeding-edge -m64"
558
559
export EM_IGNORE_SANITY=1
559
560
560
561
export SYSROOT=$EMSDK /upstream/emscripten/cache/sysroot
561
-
562
+ popd
562
563
else
563
564
echo " emsdk: config already set !" 1>&2
564
565
fi
You can’t perform that action at this time.
0 commit comments