Skip to content

Commit 48d4af0

Browse files
committed
3.1.69.13bi
1 parent aa1cdf1 commit 48d4af0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/emsdk-fetch.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
if [[ -z ${EMSDK+z} ]]
44
then
5+
pushd ${SDKROOT:-/opt/python-wasm-sdk}
56

67
. ${CONFIG:-config}
78

@@ -258,9 +259,9 @@ then
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
265266
else
266267
CPU="-D_FILE_OFFSET_BITS=64 -mcpu=bleeding-edge -m64"
@@ -558,7 +559,7 @@ END
558559
export EM_IGNORE_SANITY=1
559560

560561
export SYSROOT=$EMSDK/upstream/emscripten/cache/sysroot
561-
562+
popd
562563
else
563564
echo "emsdk: config already set !" 1>&2
564565
fi

0 commit comments

Comments
 (0)