[OE-core] Default value for FULL_OPTIMIZATION

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 2 14:47:46 UTC 2016


On Tue, 2016-02-02 at 14:26 +0100, Pascal Bach wrote:
> Hi everybody
> 
> I noticed an inconsistency in oe-core regarding the variable:
> FULL_OPTIMIZATION
> 
> In bitbake.conf the variable is defined as follows:
> 
>     FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
> 
> But if I look into the documentation.conf it tells me the following:
> 
>     FULL_OPTIMIZATION[doc]= "The options to pass in TARGET_CFLAGS and
> CFLAGS when compiling an optimized system. This variable defaults to
> '-fexpensive-optimizations -fomit-frame-pointer -frename-registers 
> -O2'."
> 
> I'm not sure if the documentation is wrong or if the default set in
> bitbake.conf is incorrect.
> Maybe somebody can shed some light on this.

I think bitbake.conf is correct and we should update the documentation.
A patch would be most welcome.

Cheers,

Richard



More information about the Openembedded-core mailing list