summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/pigz/files
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-03-16 19:34:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:17:38 +0000
commitf235a69f8d5cee6f6d8e7feccd83e8e619e2ddcf (patch)
tree2d5759f48fa413b29f3adeab07a9603851740599 /meta/recipes-extended/pigz/files
parentc78785eb5dbfa7a25e4bab9e0c29d25d13b9eb29 (diff)
downloadopenembedded-core-f235a69f8d5cee6f6d8e7feccd83e8e619e2ddcf.tar.gz
openembedded-core-f235a69f8d5cee6f6d8e7feccd83e8e619e2ddcf.tar.bz2
openembedded-core-f235a69f8d5cee6f6d8e7feccd83e8e619e2ddcf.zip
pigz: Update to 2.3
Rebased the patch and added math library to satify tree.c's log() requirement. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/pigz/files')
-rw-r--r--meta/recipes-extended/pigz/files/ldflags.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/meta/recipes-extended/pigz/files/ldflags.patch b/meta/recipes-extended/pigz/files/ldflags.patch
index 928c3a5770..8e531ccb5d 100644
--- a/meta/recipes-extended/pigz/files/ldflags.patch
+++ b/meta/recipes-extended/pigz/files/ldflags.patch
@@ -4,14 +4,16 @@ 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
+Index: pigz-2.3/Makefile
+===================================================================
+--- pigz-2.3.orig/Makefile
++++ pigz-2.3/Makefile
+@@ -3,7 +3,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
+
+ pigz: pigz.o yarn.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o
+- $(CC) -o pigz $^ -lpthread -lz
++ $(CC) ${LDFLAGS} -o pigz $^ -lpthread -lz -lm
ln -f pigz unpigz
- pigz.o: pigz.c yarn.h
+ pigz.o: pigz.c yarn.h zopfli/deflate.h zopfli/util.h