wasm-ld doesn't support --no-threads any more

This commit is contained in:
Frank Denis 2020-12-03 17:28:54 +01:00
parent 04b44a4df4
commit da41915f37

View File

@ -21,7 +21,7 @@ mkdir -p $PREFIX || exit 1
export CC="clang" export CC="clang"
export CFLAGS="-DED25519_NONDETERMINISTIC=1 --target=wasm32-wasi --sysroot=${WASI_LIBC} -O2" export CFLAGS="-DED25519_NONDETERMINISTIC=1 --target=wasm32-wasi --sysroot=${WASI_LIBC} -O2"
export LDFLAGS="-s -Wl,--no-threads -Wl,--stack-first" export LDFLAGS="-s -Wl,--stack-first"
export NM="llvm-nm" export NM="llvm-nm"
export AR="llvm-ar" export AR="llvm-ar"
export RANLIB="llvm-ranlib" export RANLIB="llvm-ranlib"