summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2012-11-15 10:21:25 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-24 15:12:35 +0000
commit0311826390063d74ef1cd7902ca3a6e3d55e97fe (patch)
treeed5abf9879dbd6da41a4899e53ce2fa1f16f0924
parenteac24cbb8a095ceab4384c95b826e5d712e78c92 (diff)
downloadpoky-0311826390063d74ef1cd7902ca3a6e3d55e97fe.tar.gz
zip: pay some attention to our CFLAGS
Makefile makes use of CFLAGS_NOOPT. If we set that when calling make we can options like -g. The Makefile will override any optimization to -O3. Upstream-Status: Pending (From OE-Core rev: df2c260f9cda2e291c72f7debe1e6d53846ce058) 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>
-rw-r--r--meta/recipes-extended/zip/zip_3.0.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb
index 12380715dc..1e961101bc 100644
--- a/meta/recipes-extended/zip/zip_3.0.bb
+++ b/meta/recipes-extended/zip/zip_3.0.bb
@@ -1,9 +1,15 @@
1require zip.inc 1require zip.inc
2 2
3PR="r1" 3PR="r2"
4 4
5# zip-2.32 still uses directory name of zip-2.30 5# zip-2.32 still uses directory name of zip-2.30
6S = "${WORKDIR}/zip30" 6S = "${WORKDIR}/zip30"
7 7
8SRC_URI[md5sum] = "7b74551e63f8ee6aab6fbc86676c0d37" 8SRC_URI[md5sum] = "7b74551e63f8ee6aab6fbc86676c0d37"
9SRC_URI[sha256sum] = "f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369" 9SRC_URI[sha256sum] = "f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369"
10
11# zip.inc sets CFLAGS, but what Makefile actually uses is
12# CFLAGS_NOOPT. It will also force -O3 optimization, overriding
13# whatever we set.
14#
15EXTRA_OEMAKE_append = " 'CFLAGS_NOOPT=-I. -DUNIX ${CFLAGS}'"