summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-18 07:40:25 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-18 07:40:25 +0000
commit4c475d38d99bb834b0f717d22275cf6ebf24c38d (patch)
tree85ff948741439b5d7b8e8bc8efa3e46c6f255100
parent660cbc883af253090351eda2ef7aa89b1de4a5f8 (diff)
downloadbuildroot-novena-4c475d38d99bb834b0f717d22275cf6ebf24c38d.tar.gz
buildroot-novena-4c475d38d99bb834b0f717d22275cf6ebf24c38d.zip
Use shared libgcc if possible
-rw-r--r--make/zlib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/zlib.mk b/make/zlib.mk
index 90c6915aa..30e6a7c6f 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