mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a2cefa01f5
commit
d4e57a7372
18
meta/recipes-extended/unzip/unzip/define-ldflags.patch
Normal file
18
meta/recipes-extended/unzip/unzip/define-ldflags.patch
Normal file
@@ -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"
|
||||||
|
|
||||||
@@ -4,10 +4,11 @@ SECTION = "console/utils"
|
|||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
|
||||||
PE = "1"
|
PE = "1"
|
||||||
PR = "r4"
|
PR = "r5"
|
||||||
|
|
||||||
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \
|
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \
|
||||||
file://avoid-strip.patch"
|
file://avoid-strip.patch \
|
||||||
|
file://define-ldflags.patch"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "62b490407489521db863b523a7f86375"
|
SRC_URI[md5sum] = "62b490407489521db863b523a7f86375"
|
||||||
SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
|
SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
|
||||||
|
|||||||
Reference in New Issue
Block a user