unzip: Pass LDFLAGS to the linker
PATCH 1/1 unzip: Pass LDFLAGS to the linker
From: Mikhail Durnev <[email protected]>
Change Makefile to use LDFLAGS
Signed-off-by Mikhail Durnev <[email protected]>
--- .../unzip/unzip/define-ldflags.patch | 16 ++++++++++++++++ meta/recipes-extended/unzip/unzip_6.0.bb | 5 +++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/unzip/unzip/define-ldflags.patch
meta/recipes-extended/unzip/unzip/define-ldflags.patch new file +16 -0
@@ -0,0 +1,16 @@ +Pass LDFLAGS to the linker + +Signed-off-by: Mikhail Durnev <[email protected]> + +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" +
meta/recipes-extended/unzip/unzip_6.0.bb +3 -2
@@ -4,10 +4,11 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" PE = "1" -PR = "r4" +PR = "r5" 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[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
Signature · 1 line
1.7.9.5
Quoted 17 lines · On 01/27/2014 11:39 PM, [email protected] wrote:
From: Mikhail Durnev <[email protected]>
Change
Makefileto use LDFLAGSSigned-off-by Mikhail Durnev <[email protected]>--- .../unzip/unzip/define-ldflags.patch | 16 ++++++++++++++++ meta/recipes-extended/unzip/unzip_6.0.bb | 5 +++-- 2 files changed, 19 insertions(+), 2 deletions(-)create mode 100644
meta/recipes-extended/unzip/unzip/define-ldflags.patchmeta/recipes-extended/unzip/unzip/define-ldflags.patch new file +0
-0
meta/recipes-extended/unzip/unzip/define-ldflags.patch line 4
Quoted 4 lines
meta/recipes-extended/unzip/unzip/define-ldflags.patch new file +4
-0@@ -0,0 +1,16 @@ +Pass LDFLAGS to the linker + +Signed-off-by: Mikhail Durnev <[email protected]> +
Additionally this needs an Upstream-Status:
Please review
http://openembedded.org/wiki/Commit_Patch_Message_Guidelines
Thanks
Sau!
Quoted 31 lines
meta/recipes-extended/unzip/unzip/define-ldflags.patch new file +12
-0+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" +meta/recipes-extended/unzip/unzip_6.0.bb +3
-2@@ -4,10 +4,11 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" PE = "1" -PR = "r4" +PR = "r5" 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[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
PATCH v2 1/1 unzip: Pass LDFLAGS to the linker
From: Mikhail Durnev <[email protected]>
Change Makefile to use LDFLAGS
Signed-off-by Mikhail Durnev <[email protected]>
--- .../unzip/unzip/define-ldflags.patch | 18 ++++++++++++++++++ meta/recipes-extended/unzip/unzip_6.0.bb | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/unzip/unzip/define-ldflags.patch
meta/recipes-extended/unzip/unzip/define-ldflags.patch new file +18 -0
@@ -0,0 +1,18 @@ +Pass LDFLAGS to the linker + +Upstream-Status: Pending + +Signed-off-by: Mikhail Durnev <[email protected]> + +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" +
meta/recipes-extended/unzip/unzip_6.0.bb +3 -2
@@ -4,10 +4,11 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" PE = "1" -PR = "r4" +PR = "r5" 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[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
Signature · 1 line
1.7.9.5