summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/unzip/unzip_6.0.bb
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2012-11-15 10:41:00 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-24 15:12:35 +0000
commit5c1c26a25052063473f44ca21cd1cf94683674f6 (patch)
treeb5fc89f16786ad97a17990903cbc240182e7e805 /meta/recipes-extended/unzip/unzip_6.0.bb
parent0311826390063d74ef1cd7902ca3a6e3d55e97fe (diff)
downloadpoky-5c1c26a25052063473f44ca21cd1cf94683674f6.tar.gz
unzip: pay some attention to our CFLAGS
Makefile makes use of CFLAGS_NOOPT. If we set that when calling make we can enable options like -g. The Makefile will override any optimization to -O3. (From OE-Core rev: 7f26794dc9f2e78ee8aed1e23752acb709345c6f) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/unzip/unzip_6.0.bb')
-rw-r--r--meta/recipes-extended/unzip/unzip_6.0.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index a1547fc3b9..0f634c8cb9 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -4,7 +4,7 @@ SECTION = "console/utils"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
6PE = "1" 6PE = "1"
7PR = "r3" 7PR = "r4"
8 8
9SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ 9SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \
10 file://avoid-strip.patch" 10 file://avoid-strip.patch"
@@ -13,7 +13,12 @@ SRC_URI[md5sum] = "62b490407489521db863b523a7f86375"
13SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37" 13SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
14S = "${WORKDIR}/unzip60" 14S = "${WORKDIR}/unzip60"
15 15
16EXTRA_OEMAKE += "STRIP=true LF2=''" 16# Makefile uses CF_NOOPT instead of CFLAGS. We lifted the values from
17# Makefile and add CFLAGS. Optimization will be overriden by unzip
18# configure to be -O3.
19#
20EXTRA_OEMAKE += "STRIP=true LF2='' \
21 'CF_NOOPT=-I. -Ibzip2 -DUNIX ${CFLAGS}'"
17 22
18export LD = "${CC}" 23export LD = "${CC}"
19LD_class-native = "${CC}" 24LD_class-native = "${CC}"