diff options
author | Björn Stenberg <bjst@enea.com> | 2012-03-15 09:25:45 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-03-19 00:05:16 -0700 |
commit | fe5f165c775ccef36a251bb83ca5dadbd209e355 (patch) | |
tree | e722d6ee4d3a66851984815881ddda96737bd39a /meta/recipes-extended/pigz/files/ldflags.patch | |
parent | efd80fd23cb96ccc203893017938c1163d20b898 (diff) | |
download | openembedded-core-fe5f165c775ccef36a251bb83ca5dadbd209e355.tar.gz openembedded-core-fe5f165c775ccef36a251bb83ca5dadbd209e355.tar.bz2 openembedded-core-fe5f165c775ccef36a251bb83ca5dadbd209e355.zip |
Add pigz as gzip-native alternative.
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 <bjst@enea.com>
Diffstat (limited to 'meta/recipes-extended/pigz/files/ldflags.patch')
-rw-r--r-- | meta/recipes-extended/pigz/files/ldflags.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-extended/pigz/files/ldflags.patch b/meta/recipes-extended/pigz/files/ldflags.patch new file mode 100644 index 0000000000..928c3a5770 --- /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 <bjst@enea.com> + +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 |