From 4f211322eb1179db62c03616b4c113114c612cf8 Mon Sep 17 00:00:00 2001 From: Mikhail Durnev Date: Wed, 29 Jan 2014 17:03:55 +1100 Subject: unzip: Pass LDFLAGS to the linker Change Makefile to use LDFLAGS Signed-off-by: Mikhail Durnev Signed-off-by: Richard Purdie --- meta/recipes-extended/unzip/unzip/define-ldflags.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-extended/unzip/unzip/define-ldflags.patch (limited to 'meta/recipes-extended/unzip/unzip') diff --git a/meta/recipes-extended/unzip/unzip/define-ldflags.patch b/meta/recipes-extended/unzip/unzip/define-ldflags.patch new file mode 100644 index 0000000000..659c6e3315 --- /dev/null +++ b/meta/recipes-extended/unzip/unzip/define-ldflags.patch @@ -0,0 +1,18 @@ +Pass LDFLAGS to the linker + +Upstream-Status: Pending + +Signed-off-by: Mikhail Durnev + +diff -Naur old/unix/configure new/unix/configure +--- old/unix/configure 2014-01-13 21:59:27.000000000 +1100 ++++ new/unix/configure 2014-01-14 16:36:02.000000000 +1100 +@@ -16,7 +16,7 @@ + CFLAGSR=${CFLAGS} + IZ_BZIP2=${3} + CFLAGS="${CFLAGS} -I. -DUNIX" +-LFLAGS1="" ++LFLAGS1=${LDFLAGS} + LFLAGS2="" + LN="ln -s" + -- cgit 1.2.3-korg