"Burton, Ross" <[email protected]> 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 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
