[OE-core] [PATCH] mmc-utils: set the optimization to -O2

Otavio Salvador otavio at ossystems.com.br
Thu Jan 22 10:45:26 UTC 2015


On Thu, Jan 22, 2015 at 6:35 AM, Mike Looijmans <mike.looijmans at topic.nl> wrote:
> Wouldn't this cause build that use "-Os" (or -O3) to be forced to use "-O2"
> for this package?
>
> Using -Os makes for serious flash space savings on the MIPS settop boxes, we
> found that the code generated with -Os isn't just smaller, but it compresses
> into a much smaller filesystem than -O2 generated files. There appears to be
> some synergy there between the compression algorithm (gzip or lzo) and the
> code as generated with that option.

Agreed and this is not the right path it seems.

I think this will be used when security_flags.inc is in place. So the
fix should be there, not in a patch.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list