summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-02-09 10:09:08 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-19 19:44:39 +0100
commiteb093c517421465d8636fab5eb4fb890d0858a47 (patch)
tree9d2a67d061f329cc13232457d60bae728bfc0363 /toolchain/gcc
parentfb0d0c0f7903d2230d1d8c5072082879b7377818 (diff)
downloadopenwrt-eb093c517421465d8636fab5eb4fb890d0858a47.tar.gz
openwrt-eb093c517421465d8636fab5eb4fb890d0858a47.tar.bz2
openwrt-eb093c517421465d8636fab5eb4fb890d0858a47.zip
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 <a.heider@gmail.com>
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/initial/Makefile2
1 files changed, 0 insertions, 2 deletions
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; \
)