[OE-core] [PATCH] ncurses: 6.0+20160625 -> 6.0+20161126

Christopher Larson kergoth at gmail.com
Tue Feb 21 04:58:27 UTC 2017


On Mon, Feb 20, 2017 at 5:37 PM, Ross Burton <ross.burton at intel.com> wrote:

> From: Hongxu Jia <hongxu.jia at windriver.com>
>
> Add a patch to fix the CC/CFLAGS mangling that broke builds. [RB]
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-core/ncurses/files/fix-cflags-mangle.patch | 17
> +++++++++++++++++
>  ...{ncurses_6.0+20160625.bb => ncurses_6.0+20161126.bb} |  3 ++-
>  2 files changed, 19 insertions(+), 1 deletion(-)
>  create mode 100644 meta/recipes-core/ncurses/
> files/fix-cflags-mangle.patch
>  rename meta/recipes-core/ncurses/{ncurses_6.0+20160625.bb => ncurses_6.0+
> 20161126.bb} (73%)
>
> diff --git a/meta/recipes-core/ncurses/files/fix-cflags-mangle.patch
> b/meta/recipes-core/ncurses/files/fix-cflags-mangle.patch
> new file mode 100644
> index 0000000..0308fe1
> --- /dev/null
> +++ b/meta/recipes-core/ncurses/files/fix-cflags-mangle.patch
> @@ -0,0 +1,17 @@
> +configure has a piece of logic to detect users "abusing" CC to hold
> compiler
> +flags (which we do).  It also has logic to "correct" this by moving the
> flags
> +from CC to CFLAGS, but the sed only handles a single argument in CC.
> +
> +Replace the sed with a simple 'cut' call, making the assumption that the
> first
> +word is the compiler name and everything else is an option.
>

What will happen when ccache is in use via CCACHE?
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170220/9dd52fc5/attachment-0002.html>


More information about the Openembedded-core mailing list