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: |
|
- 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/
|
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
|
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
|
displayName: Install the Zig SDK
|
||||||
- script: |
|
- script: |
|
||||||
env WASMER_DIR=${HOME}/.wasmer PATH=${HOME}/.wasmer/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh
|
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
|
mkdir -p $PREFIX || exit 1
|
||||||
|
|
||||||
export CC="zig cc"
|
export CC="zig cc"
|
||||||
export CFLAGS="--target=wasm32-wasi -O2"
|
export CFLAGS="--target=wasm32-wasi -O3"
|
||||||
export LDFLAGS="-s -Wl,--stack-first"
|
export LDFLAGS="-s"
|
||||||
export AR="zig ar"
|
export AR="zig ar"
|
||||||
export RANLIB="zig ranlib"
|
export RANLIB="zig ranlib"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user