aboutsummaryrefslogtreecommitdiff
path: root/system/pigz/math_fix.diff
blob: 7123175132bc7f6f59067d5dee1f801cfa170c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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