[OE-core] [PATCH 4/4] ncurses: fix beaglebone do_configure failure
Burton, Ross
ross.burton at intel.com
Tue Feb 21 16:30:06 UTC 2017
On 21 February 2017 at 13:50, Burton, Ross <ross.burton at intel.com> wrote:
> I'm a big fan of fixing upstream so we don't have to carry a patch
> forever. Their rationale I don't understand, but the implementation is
> clearly broken.
>
Here's my current fix:
+ cf_flags=`echo "$CC" | awk 'BEGIN{ORS=" ";RS=" "} /^-.+/ {print
$1}'`
+ CC=`echo "$CC " | awk 'BEGIN{ORS=" ";RS=" "} /^[^-].+/ {print $1}'`
Works for ccache, and doesn't involve a long/horrible sed. I've also sent
it upstream.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170221/77fa3e13/attachment-0002.html>
More information about the Openembedded-core
mailing list