<br><br>On Friday, June 29, 2012, Paul Gortmaker <<a href="mailto:paul.gortmaker@windriver.com">paul.gortmaker@windriver.com</a>> wrote:<br>> We don't want to force everyone to be stripping the -Os<br>> flags from their u-boot builds. Remove it, since it pertains<br>
> to an old toolchain issue that is no longer relevant, and it<br>> breaks the powerpc mpc8315.<br><br>Its fixed that's right but I am curious how does it break with -O2<br>><br>> Signed-off-by: Paul Gortmaker <<a href="mailto:paul.gortmaker@windriver.com">paul.gortmaker@windriver.com</a>><br>
> ---<br>> meta/recipes-bsp/u-boot/u-boot.inc | 3 ---<br>> 1 file changed, 3 deletions(-)<br>><br>> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc<br>> index a13eddc..0ed5fd9 100644<br>
> --- a/meta/recipes-bsp/u-boot/u-boot.inc<br>> +++ b/meta/recipes-bsp/u-boot/u-boot.inc<br>> @@ -7,9 +7,6 @@ inherit deploy<br>><br>> PARALLEL_MAKE=""<br>><br>> -# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS<br>
> -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"<br>> -<br>> python () {<br>> if not d.getVar("UBOOT_MACHINE", True):<br>> PN = d.getVar("PN", True)<br>
> --<br>> 1.7.9.6<br>><br>><br>> _______________________________________________<br>> Openembedded-core mailing list<br>> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>>