diff options
Diffstat (limited to 'meta/recipes-extended/unzip/unzip/define-ldflags.patch')
-rw-r--r-- | meta/recipes-extended/unzip/unzip/define-ldflags.patch | 18 |
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 0000000000..659c6e3315 --- /dev/null +++ b/meta/recipes-extended/unzip/unzip/define-ldflags.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Pass LDFLAGS to the linker | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com> | ||
6 | |||
7 | diff -Naur old/unix/configure new/unix/configure | ||
8 | --- old/unix/configure 2014-01-13 21:59:27.000000000 +1100 | ||
9 | +++ new/unix/configure 2014-01-14 16:36:02.000000000 +1100 | ||
10 | @@ -16,7 +16,7 @@ | ||
11 | CFLAGSR=${CFLAGS} | ||
12 | IZ_BZIP2=${3} | ||
13 | CFLAGS="${CFLAGS} -I. -DUNIX" | ||
14 | -LFLAGS1="" | ||
15 | +LFLAGS1=${LDFLAGS} | ||
16 | LFLAGS2="" | ||
17 | LN="ln -s" | ||
18 | |||