WASI: Put the stack before globals
See https://github.com/ziglang/zig/issues/4496
This commit is contained in:
parent
58ec9cc35b
commit
d37afd6015
@ -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"
|
export LDFLAGS="-s -Wl,--no-threads -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user