summaryrefslogtreecommitdiffstats
path: root/package/zlib/zlib-arflags.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-30 22:45:08 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-30 22:45:08 +0000
commit02a28380e9bc05df9e6c1a595b187d19f65e4921 (patch)
treeda1fdd345f6c8f8265eb0de130d9152745be63d5 /package/zlib/zlib-arflags.patch
parent34f82af799172a02319b010f5c952d4ad24f7dfe (diff)
downloadbuildroot-novena-02a28380e9bc05df9e6c1a595b187d19f65e4921.tar.gz
buildroot-novena-02a28380e9bc05df9e6c1a595b187d19f65e4921.zip
some patches from Gentoo
Diffstat (limited to 'package/zlib/zlib-arflags.patch')
-rw-r--r--package/zlib/zlib-arflags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/zlib/zlib-arflags.patch b/package/zlib/zlib-arflags.patch
new file mode 100644
index 000000000..f9dae52be
--- /dev/null
+++ b/package/zlib/zlib-arflags.patch
@@ -0,0 +1,21 @@
+--- zlib-1.2.3/Makefile.in
++++ zlib-1.2.3/Makefile.in
+@@ -33,7 +33,8 @@
+ SHAREDLIBV=libz.so.1.2.3
+ SHAREDLIBM=libz.so.1
+
+-AR=ar rc
++AR=ar
++ARFLAGS=rc
+ RANLIB=ranlib
+ TAR=tar
+ SHELL=/bin/sh
+@@ -68,7 +69,7 @@
+ fi
+
+ libz.a: $(OBJS) $(OBJA)
+- $(AR) $@ $(OBJS) $(OBJA)
++ $(AR) $(ARFLAGS) $@ $(OBJS) $(OBJA)
+ -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
+
+ match.o: match.S