Skip to content

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

:art: Update the building script of HarmonyOS

Danielb423ba506b9b
diff --git a/kernel/harmony/build.sh b/kernel/harmony/build.sh
index 290c2998d8..7329b2e176 100755
--- a/kernel/harmony/build.sh
+++ b/kernel/harmony/build.sh
@@ -24,5 +24,5 @@ export GOARCH=arm64
export CGO_CFLAGS="-I${LOG_ADAPTOR_HOME}/include -g -O2 `$LLVMCONFIG --cflags` --target=aarch64-linux-ohos --sysroot=$OHOS_NDK_HOME/native/sysroot"
export CGO_LDFLAGS="--target=aarch64-linux-ohos -fuse-ld=lld -L${LOG_ADAPTOR_HOME}/dist/arm64-v8a"
-go build --tags fts5 -ldflags "-s -w" -buildmode=c-shared -v -o libkernel.so .
-#go build --tags fts5 -buildmode=c-shared -v -o libkernel.so .
+#go build --tags fts5 -ldflags "-s -w" -buildmode=c-shared -v -o libkernel.so .
+go build --tags fts5 -buildmode=c-shared -v -o libkernel.so .