mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 08:14:21 +01:00
🎨 Do not strip kernel lib debug symbol table for HarmonyOS
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
cd2eeb69bb
commit
409b2062a3
1 changed files with 2 additions and 1 deletions
|
|
@ -24,4 +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 -ldflags "-s -w" -buildmode=c-shared -v -o libkernel.so .
|
||||
go build --tags fts5 -buildmode=c-shared -v -o libkernel.so .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue