summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/unzip/unzip/define-ldflags.patch
blob: dc554c32cb2a631ccda03392bcc92687da7434a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Pass LDFLAGS to the linker 

Upstream-Status: Inappropriate [need a new release]

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"