projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660cbc8
)
Use shared libgcc if possible
author
Eric Andersen
<andersen@codepoet.org>
Sun, 18 Jul 2004 07:40:25 +0000
(07:40 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sun, 18 Jul 2004 07:40:25 +0000
(07:40 -0000)
make/zlib.mk
patch
|
blob
|
history
diff --git
a/make/zlib.mk
b/make/zlib.mk
index 90c6915aa1769882c135f7e609fdd4f58230d518..30e6a7c6f765a1faf16a011c44c00b4d3feeb4d9 100644
(file)
--- 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