From 89c67eb969cebd9a39103b46670116c946f37fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=AA=E3=83=B3=E8=A6=AA=E8=A1=9B?= =?UTF-8?q?=E9=9A=8A?= Date: Sun, 4 Feb 2024 02:20:30 +0900 Subject: [PATCH] Update build.sh --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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