From 71b34003ca66e57bb8bb78a94686254679d2745c Mon Sep 17 00:00:00 2001 From: Li Jie Date: Wed, 19 Mar 2025 14:31:41 +0800 Subject: [PATCH] debug: rollback unwind to don't depends llvm runtime, solve libunwind linking on homebrew linux in llgo formal --- c/debug/debug.go | 4 ++-- runtime/internal/clite/debug/debug.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c/debug/debug.go b/c/debug/debug.go index 76260b0d..16e00eea 100644 --- a/c/debug/debug.go +++ b/c/debug/debug.go @@ -11,8 +11,8 @@ import ( ) const ( - LLGoPackage = "link: $(llvm-config --ldflags --libs); -lunwind" - LLGoFiles = "$(llvm-config --cflags): _wrap/debug.c" + LLGoPackage = "link" + LLGoFiles = "_wrap/debug.c" ) type Info struct { diff --git a/runtime/internal/clite/debug/debug.go b/runtime/internal/clite/debug/debug.go index 48a27649..10e3a41e 100644 --- a/runtime/internal/clite/debug/debug.go +++ b/runtime/internal/clite/debug/debug.go @@ -11,8 +11,8 @@ import ( ) const ( - LLGoPackage = "link: $(llvm-config --ldflags --libs); -lunwind" - LLGoFiles = "$(llvm-config --cflags): _wrap/debug.c" + LLGoPackage = "link" + LLGoFiles = "_wrap/debug.c" ) type Info struct {