mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-29 15:44:04 +00:00
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>
This commit is contained in:
parent
fb0d0c0f79
commit
eb093c5174
@ -23,9 +23,7 @@ define Host/Install
|
|||||||
install-gcc \
|
install-gcc \
|
||||||
install-target-libgcc
|
install-target-libgcc
|
||||||
|
|
||||||
# XXX: glibc insists on linking against libgcc_eh
|
|
||||||
( cd $(TOOLCHAIN_DIR)/initial/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \
|
( 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; \
|
cp libgcc.a libgcc_initial.a; \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user