diff --git a/build.sh b/build.sh index 355c7c0..4eaf715 100644 --- a/build.sh +++ b/build.sh @@ -1,8 +1,8 @@ #!/bin/bash if [ $(cat /tmp/arch) = "aarch64" ]; then - CC_aarch64_unknown_linux_musl=clang - AR_aarch64_unknown_linux_musl=llvm-ar - CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld" + export CC_aarch64_unknown_linux_musl=clang + export AR_aarch64_unknown_linux_musl=llvm-ar + export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld" else echo "amd64 mode" fi