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

Hongxu Jia hongxu.jia at windriver.com
Tue Feb 21 01:34:59 UTC 2017


On 2017年02月21日 09:01, Enrico Scholz wrote:
> "Burton, Ross" <ross.burton at intel.com> writes:
>
>>> 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.
> Upstream tries to do it correctly for nearly a year and fails everytime
> at some cornercases.
>
>
>> 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' '`
> This will break for
>
>    CC='ccache gcc -m32'
>
> Perhaps there are cases (not for OE), where gcc contains a space... How
> to deal with this?

How about directly remove the cf_flags assigning? Because our OE have
correctly assigned it in bitbake.conf.

//Hongxu

>
>
> Enrico





More information about the Openembedded-core mailing list