The --stack-first link option doesn't exist any more
This commit is contained in:
parent
cadf901940
commit
5f32a74e1a
@ -18,7 +18,7 @@ jobs:
|
||||
- script: |
|
||||
curl -sL -o - https://ziglang.org/download/0.10.1/zig-linux-x86_64-0.10.1.tar.xz | tar xJ -f - -C /opt/
|
||||
sudo mv /opt/zig-* /opt/zig
|
||||
env PATH=/opt/zig/bin:/opt/zig:$PATH
|
||||
export PATH=/opt/zig/bin:/opt/zig:$PATH
|
||||
displayName: Install the Zig SDK
|
||||
- script: |
|
||||
env WASMER_DIR=${HOME}/.wasmer PATH=${HOME}/.wasmer/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh
|
||||
|
@ -7,8 +7,8 @@ export PREFIX="$(pwd)/libsodium-wasm32-wasi"
|
||||
mkdir -p $PREFIX || exit 1
|
||||
|
||||
export CC="zig cc"
|
||||
export CFLAGS="--target=wasm32-wasi -O2"
|
||||
export LDFLAGS="-s -Wl,--stack-first"
|
||||
export CFLAGS="--target=wasm32-wasi -O3"
|
||||
export LDFLAGS="-s"
|
||||
export AR="zig ar"
|
||||
export RANLIB="zig ranlib"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user