[poky] [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.

Wolfgang Denk wd at denx.de
Fri Jan 27 13:32:29 PST 2012


Dear Paul,

In message <4F22E15B.4070105 at windriver.com> you wrote:
>
> I would agree with you, but as I said in the commit log,
> I don't want to be changing other people's settings that
> I can't personally test.  If the owners of those platforms
> figure that is an acceptable risk, then I'll gladly send
> another patch to remove the -Os toggle entirely.

The compiler options used by U-Boot are pretty carefully tuned.
Messing with them is actually the greater risk - using -O2 instead of
-Os results in considerably larger code, which breaks for example the
mapping to flash sectors on a number of boards.

I recommend removing this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Too many people are ready to carry the stool when the piano needs  to
be moved.



More information about the poky mailing list