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