summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/unzip/unzip
diff options
context:
space:
mode:
authorMikhail Durnev <Mikhail_Durnev@mentor.com>2014-01-29 17:03:55 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-29 17:38:49 +0000
commitd4e57a737261bf1002b351aae57e58dbfe997371 (patch)
tree1e7e9585271c31b6db01491b615b9cb8342d1ebe /meta/recipes-extended/unzip/unzip
parenta2cefa01f5f98aaa5bbab983190f206e64b39ec7 (diff)
downloadast2050-yocto-poky-d4e57a737261bf1002b351aae57e58dbfe997371.zip
ast2050-yocto-poky-d4e57a737261bf1002b351aae57e58dbfe997371.tar.gz
unzip: Pass LDFLAGS to the linker
Change Makefile to use LDFLAGS (From OE-Core rev: 4f211322eb1179db62c03616b4c113114c612cf8) Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/unzip/unzip')
-rw-r--r--meta/recipes-extended/unzip/unzip/define-ldflags.patch18
1 files changed, 18 insertions, 0 deletions
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 0000000..659c6e3
--- /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 <Mikhail_Durnev@mentor.com>
+
+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"
+
OpenPOWER on IntegriCloud