[OE-core] [PATCH 4/4] ncurses: fix beaglebone do_configure failure

Burton, Ross ross.burton at intel.com
Tue Feb 21 00:20:56 UTC 2017


On 20 February 2017 at 23:21, Burton, Ross <ross.burton at intel.com> wrote:

> c) fix the function that detects the "broken" use of CC as it should be
> extracting the flags and moving them to CFLAGS.  Clearly this isn't working
> somewhere.
>

So upstream's sed made the assumption that there was only one argument
being passed via CC.

I've a local working fix that basically does this:

- cf_flags=`echo "$CC" | sed -e 's/^.*[ ]\(-[^ ]\)/\1/'`
+ cf_flags=`echo "$CC" | cut -f2- -d' '`

(use cut to remove the first word, assuming everything after the first word
of CC is an option).

Hongxu, would you mind if I squash this into your upgrade so we don't end
up with a revision where ncurses doesn't build?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170221/839db9a4/attachment-0002.html>


More information about the Openembedded-core mailing list