Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Add deb release package for Linux https://github.com/siyuan-note/siyuan/issues/11532

Danielee115ab3915a
diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh
index 7ff9f71da6..6607633052 100755
--- a/scripts/linux-build.sh
+++ b/scripts/linux-build.sh
@@ -21,6 +21,7 @@ export CGO_ENABLED=1
echo 'Building Kernel amd64'
export GOOS=linux
export GOARCH=amd64
+export CC=~/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc
go build -buildmode=pie --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w -extldflags -static-pie" .
echo 'Building Kernel arm64'