* [gentoo-commits] gentoo-x86 commit in app-arch/pigz/files: pigz-2.3-make.patch
@ 2013-03-07 0:06 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2013-03-07 0:06 UTC (permalink / raw
To: gentoo-commits
radhermit 13/03/07 00:06:09
Added: pigz-2.3-make.patch
Log:
Version bump.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.1 app-arch/pigz/files/pigz-2.3-make.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/pigz/files/pigz-2.3-make.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/pigz/files/pigz-2.3-make.patch?rev=1.1&content-type=text/plain
Index: pigz-2.3-make.patch
===================================================================
From 545a9350f8026f6c9826dd4fa7ab6000d8826d78 Mon Sep 17 00:00:00 2001
From: Tim Harder <radhermit@gmail.com>
Date: Wed, 6 Mar 2013 15:51:27 -0800
Subject: [PATCH] Respect LDFLAGS and explicitly link to math library
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 3cc231d..48d1f26 100644
--- a/Makefile
+++ b/Makefile
@@ -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) $(LDFLAGS) -o pigz $^ -lpthread -lz -lm
ln -f pigz unpigz
pigz.o: pigz.c yarn.h zopfli/deflate.h zopfli/util.h
--
1.8.1.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-07 0:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 0:06 [gentoo-commits] gentoo-x86 commit in app-arch/pigz/files: pigz-2.3-make.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox