mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
WASI: Put the stack before globals
See https://github.com/ziglang/zig/issues/4496
This commit is contained in:
parent
e60ac864bc
commit
7e9095bcc5
@ -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