diff options
| -rw-r--r-- | meta/recipes-extended/unzip/unzip/define-ldflags.patch | 18 | ||||
| -rw-r--r-- | meta/recipes-extended/unzip/unzip_6.0.bb | 5 |
2 files changed, 21 insertions, 2 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 | |||
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index 584802a598..33c20f8b4c 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" | |||
| 4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" |
| 6 | PE = "1" | 6 | PE = "1" |
| 7 | PR = "r4" | 7 | PR = "r5" |
| 8 | 8 | ||
| 9 | SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ | 9 | SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ |
| 10 | file://avoid-strip.patch" | 10 | file://avoid-strip.patch \ |
| 11 | file://define-ldflags.patch" | ||
| 11 | 12 | ||
| 12 | SRC_URI[md5sum] = "62b490407489521db863b523a7f86375" | 13 | SRC_URI[md5sum] = "62b490407489521db863b523a7f86375" |
| 13 | SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37" | 14 | SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37" |
