[coreboot] libpayload: Add -Os to the CFLAGS

Uwe Hermann uwe at hermann-uwe.de
Thu Mar 20 02:13:52 CET 2008

On Wed, Mar 19, 2008 at 06:27:12PM -0600, Jordan Crouse wrote:
> libpayload: Add -Os to the CFLAGS
> Adding -Os to the CFLAGS gains us about 25% smaller code (give or take).
> Unfortunately, it exposes a strange issue where strcpy() suddenly goes
> missing - we think that strcpy() is being provided by libgcc, and that
> for some reason, -Os changes the beahavior.  Oh, well - add a quick
> strcpy() function and we're good.
> Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>

Thanks, r3175.

http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

More information about the coreboot mailing list