e324569d59
update to 2.3 (forwarded request 159493 from etamPL) OBS-URL: https://build.opensuse.org/request/show/159508 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pigz?expand=0&rev=9
20 lines
696 B
Diff
20 lines
696 B
Diff
From: Adam Mizerski <adam@mizerski.pl>
|
|
Date: 2013-03-15 00:01:33 +0100
|
|
Subject: adds missing "-lm"
|
|
Upstream: sent
|
|
|
|
It's required, because zopfli/tree.c uses "log".
|
|
|
|
diff -rupN pigz-2.3/Makefile pigz-2.3_mod/Makefile
|
|
--- pigz-2.3/Makefile 2013-03-04 07:06:35.000000000 +0100
|
|
+++ pigz-2.3_mod/Makefile 2013-03-14 23:57:03.333838222 +0100
|
|
@@ -3,7 +3,7 @@ CFLAGS=-O3 -Wall -Wextra
|
|
|
|
|
|
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
|