[oe] [RFC] Badness with -ibad, a replacement for zecke-no-host-includes.patch.

Phil Blundell philb at gnu.org
Fri Jul 9 09:41:50 UTC 2010


On Thu, 2010-07-08 at 23:36 +0800, Holger Freyther wrote:
> E.g. a recipe not honoring our CPPFLAGS might silently pass this check
> (while before it was hardcoded into the compiler). My proposal would be
> to extend the sanity check and grep the compile log for gcc and -ibad
> and fail if gcc exists but -ibad does not occur?

That sounds a bit fragile too.  How about just adding the -ibad flags to
${CC} rather than putting them in CPPFLAGS?  Only the most determined
package is likely to be able to build without using our value for CC.

Failing that, I guess the original approach of patching the compiler is
actually the better one, inelegant though it might seem.

p.






More information about the Openembedded-devel mailing list