On 20 February 2017 at 23:21, Burton, Ross <ross.bur...@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
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to