summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pigz/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pigz/files')
-rw-r--r--meta/recipes-extended/pigz/files/ldflags.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-extended/pigz/files/ldflags.patch b/meta/recipes-extended/pigz/files/ldflags.patch
new file mode 100644
index 0000000000..928c3a5770
--- /dev/null
+++ b/meta/recipes-extended/pigz/files/ldflags.patch
@@ -0,0 +1,17 @@
1Link using the bitbake LDFLAGS.
2
3Signed-off-by: Björn Stenberg <bjst@enea.com>
4
5Upstream-Status: Pending
6
7--- pigz-2.2.4/Makefile.orig 2012-01-01 02:46:58.000000000 +0100
8+++ pigz-2.2.4/Makefile 2012-03-09 08:47:40.025094863 +0100
9@@ -2,7 +2,7 @@
10 CFLAGS=-O3 -Wall -Wextra
11
12 pigz: pigz.o yarn.o
13- $(CC) -o pigz pigz.o yarn.o -lpthread -lz
14+ $(CC) $(LDFLAGS) -o pigz pigz.o yarn.o -lpthread -lz
15 ln -f pigz unpigz
16
17 pigz.o: pigz.c yarn.h