From fe5f165c775ccef36a251bb83ca5dadbd209e355 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 15 Mar 2012 09:25:45 +0100 Subject: Add pigz as gzip-native alternative. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries. This recipe adds pigz as an alternative gzip-native implementation only. Signed-off-by: Björn Stenberg --- meta/recipes-extended/pigz/files/ldflags.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-extended/pigz/files/ldflags.patch (limited to 'meta/recipes-extended/pigz/files') diff --git a/meta/recipes-extended/pigz/files/ldflags.patch b/meta/recipes-extended/pigz/files/ldflags.patch new file mode 100644 index 000000000..928c3a577 --- /dev/null +++ b/meta/recipes-extended/pigz/files/ldflags.patch @@ -0,0 +1,17 @@ +Link using the bitbake LDFLAGS. + +Signed-off-by: Björn Stenberg + +Upstream-Status: Pending + +--- pigz-2.2.4/Makefile.orig 2012-01-01 02:46:58.000000000 +0100 ++++ pigz-2.2.4/Makefile 2012-03-09 08:47:40.025094863 +0100 +@@ -2,7 +2,7 @@ + CFLAGS=-O3 -Wall -Wextra + + pigz: pigz.o yarn.o +- $(CC) -o pigz pigz.o yarn.o -lpthread -lz ++ $(CC) $(LDFLAGS) -o pigz pigz.o yarn.o -lpthread -lz + ln -f pigz unpigz + + pigz.o: pigz.c yarn.h -- cgit v1.2.3