From 4c475d38d99bb834b0f717d22275cf6ebf24c38d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 18 Jul 2004 07:40:25 +0000 Subject: [PATCH] Use shared libgcc if possible --- make/zlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/zlib.mk b/make/zlib.mk index 90c6915aa1..30e6a7c6f7 100644 --- a/make/zlib.mk +++ b/make/zlib.mk @@ -30,7 +30,7 @@ $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source touch $(ZLIB_DIR)/.configured; $(ZLIB_DIR)/libz.so.1.1.4: $(ZLIB_DIR)/.configured - $(MAKE) LDSHARED="$(TARGET_CROSS)ld -shared -soname,libz.so.1" \ + $(MAKE) LDSHARED="$(TARGET_CROSS)gcc -shared -Wl,-soname,libz.so.1 -shared-libgcc" \ CFLAGS="$(ZLIB_CFLAGS)" CC=$(TARGET_CC) -C $(ZLIB_DIR) all libz.a; touch -c $(ZLIB_DIR)/libz.so.1.1.4 -- 2.30.2