From: Andre Heider Date: Thu, 9 Feb 2023 09:09:08 +0000 (+0100) Subject: toolchain/gcc: remove glibc libgcc_eh hack X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eb093c517421465d8636fab5eb4fb890d0858a47;p=openwrt%2Fstaging%2Fthess.git toolchain/gcc: remove glibc libgcc_eh hack A modern glibc only links against libgcc_eh for its tests or when building it static, which doesn't happen here. Reverts a hunk of: a3edea1b "add support for alternative C libraries..." Signed-off-by: Andre Heider --- diff --git a/toolchain/gcc/initial/Makefile b/toolchain/gcc/initial/Makefile index c71b17dd87..68a7ccd3c7 100644 --- a/toolchain/gcc/initial/Makefile +++ b/toolchain/gcc/initial/Makefile @@ -23,9 +23,7 @@ define Host/Install install-gcc \ install-target-libgcc - # XXX: glibc insists on linking against libgcc_eh ( cd $(TOOLCHAIN_DIR)/initial/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \ - [ -e libgcc_eh.a ] || ln -sf libgcc.a libgcc_eh.a ; \ cp libgcc.a libgcc_initial.a; \ )