slackbuilds/system/pigz/math_fix.diff

13 lines
470 B
Diff
Raw Normal View History

diff -Naur a/Makefile b/Makefile
--- a/Makefile 2013-03-04 00:06:35.000000000 -0600
+++ b/Makefile 2013-06-18 08:56:58.111172954 -0500
@@ -3,7 +3,7 @@
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) -o pigz $^ -lpthread -lz -lm
ln -f pigz unpigz
pigz.o: pigz.c yarn.h zopfli/deflate.h zopfli/util.h