diff --git a/cc/config/x86_linux_host.go b/cc/config/x86_linux_host.go index ce6836ba5..e1659d380 100644 --- a/cc/config/x86_linux_host.go +++ b/cc/config/x86_linux_host.go @@ -65,7 +65,6 @@ var ( linuxMuslLdflags = []string{ "-nostdlib", - "-lgcc", "-lgcc_eh", "--sysroot /dev/null", } diff --git a/rust/config/x86_linux_host.go b/rust/config/x86_linux_host.go index 760834929..4d7c42219 100644 --- a/rust/config/x86_linux_host.go +++ b/rust/config/x86_linux_host.go @@ -42,8 +42,6 @@ var ( "-nodefaultlibs", "-nostdlib", "-Wl,--no-dynamic-linker", - // for unwind - "-lgcc", "-lgcc_eh", } linuxX86Rustflags = []string{} linuxX86Linkflags = []string{}