From baaec946eea552bd57756d2d78ac781911442b9e Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 1 Jun 2024 18:11:11 +0800 Subject: [PATCH] :art: Support Linux arm64 https://github.com/siyuan-note/siyuan/issues/11566 --- scripts/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh index 73577233654..91b83255916 100755 --- a/scripts/linux-build.sh +++ b/scripts/linux-build.sh @@ -25,7 +25,7 @@ go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" echo 'Building Kernel arm64' export GOARCH=arm64 -export CC=~/llvm-mingw-20240518-ucrt-ubuntu-20.04-x86_64/bin/aarch64-w64-mingw32-gcc +export CC=~/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc go build --tags fts5 -v -o "../app/kernel-linux-arm64/SiYuan-Kernel" -ldflags "-s -w" . cd ..