On Fri, 2016-01-29 at 12:35 -0500, Hongxu Jia wrote:
> We need to expand SELECTED_OPTIMIZATION later, so
> do not immediate expansion, and do the work in
> anonymous python function.
>
> It is reasonable to give an error for -O0.
I applaud the general idea of this patch, but...
> + d.appendVar("SELECTED_OPTIMIZATION", " -Wno-error")
... can't you just use CFLAGS += -Wno-error rather than fiddling with
SELECTED_OPTIMIZATION here? -Wno-error is clearly not an optimization
flag.
p.
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core