[OE-core] [PATCH 4/4] ncurses: fix beaglebone do_configure failure
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Tue Feb 21 01:01:02 UTC 2017
"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?
Enrico
More information about the Openembedded-core
mailing list