* [PATCH] unzip: Pass LDFLAGS to the linker
@ 2014-01-28 7:39 Mikhail_Durnev
2014-01-28 16:01 ` Saul Wold
0 siblings, 1 reply; 4+ messages in thread
From: Mikhail_Durnev @ 2014-01-28 7:39 UTC (permalink / raw)
To: openembedded-core
From: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Change Makefile to use LDFLAGS
Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
---
.../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
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..a3e5178
--- /dev/null
+++ b/meta/recipes-extended/unzip/unzip/define-ldflags.patch
@@ -0,0 +1,16 @@
+Pass LDFLAGS to the linker
+
+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"
+
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index 584802a..33c20f8 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -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"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] unzip: Pass LDFLAGS to the linker
2014-01-28 7:39 [PATCH] unzip: Pass LDFLAGS to the linker Mikhail_Durnev
@ 2014-01-28 16:01 ` Saul Wold
2014-01-29 6:03 ` [PATCH v2] " Mikhail_Durnev
0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2014-01-28 16:01 UTC (permalink / raw)
To: Mikhail_Durnev, openembedded-core
On 01/27/2014 11:39 PM, Mikhail_Durnev@mentor.com wrote:
> From: Mikhail Durnev <Mikhail_Durnev@mentor.com>
>
> Change Makefile to use LDFLAGS
>
> Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
> ---
> .../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
>
> 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..a3e5178
> --- /dev/null
> +++ b/meta/recipes-extended/unzip/unzip/define-ldflags.patch
> @@ -0,0 +1,16 @@
> +Pass LDFLAGS to the linker
> +
> +Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
> +
Additionally this needs an Upstream-Status:
Please review
http://openembedded.org/wiki/Commit_Patch_Message_Guidelines
Thanks
Sau!
> +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"
> +
> diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
> index 584802a..33c20f8 100644
> --- a/meta/recipes-extended/unzip/unzip_6.0.bb
> +++ b/meta/recipes-extended/unzip/unzip_6.0.bb
> @@ -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"
>
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v2] unzip: Pass LDFLAGS to the linker
2014-01-28 16:01 ` Saul Wold
@ 2014-01-29 6:03 ` Mikhail_Durnev
0 siblings, 0 replies; 4+ messages in thread
From: Mikhail_Durnev @ 2014-01-29 6:03 UTC (permalink / raw)
To: openembedded-core
From: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Change Makefile to use LDFLAGS
Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
---
.../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
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"
+
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index 584802a..33c20f8 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -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"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] unzip: Pass LDFLAGS to the linker
@ 2014-01-28 6:28 mdurnev
0 siblings, 0 replies; 4+ messages in thread
From: mdurnev @ 2014-01-28 6:28 UTC (permalink / raw)
To: openembedded-core
From: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Change Makefile to use LDFLAGS
Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
---
.../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
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..a3e5178
--- /dev/null
+++ b/meta/recipes-extended/unzip/unzip/define-ldflags.patch
@@ -0,0 +1,16 @@
+Pass LDFLAGS to the linker
+
+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"
+
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index 584802a..33c20f8 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -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"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-29 6:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 7:39 [PATCH] unzip: Pass LDFLAGS to the linker Mikhail_Durnev
2014-01-28 16:01 ` Saul Wold
2014-01-29 6:03 ` [PATCH v2] " Mikhail_Durnev
-- strict thread matches above, loose matches on Subject: below --
2014-01-28 6:28 [PATCH] " mdurnev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox