[U-Boot-Users] [PATCH] Fix warnings while compiling net/net.c for MPC8610HPCD board

Anatolij Gustschin
2008-04-30T14:39:26Z

Kumar Gala wrote:
>
> On Apr 30, 2008, at 6:34 AM, Anatolij Gustschin wrote:
>> MPC8610HPCD board adds -O2 gcc option to PLATFORM_CPPFLAGS
>> causing overriding default -Os option. New gcc (ver. 4.2.2)
>> produces warnings while compiling net/net.c file with -O2
>> option. The patch is an attempt to fix this.
>
> nothing against this patch, but should we change MPC8610HPCD to use -Os
> like everyone else?

if there is no special reason for using -O2 with MPC8610HPCD,
then it should be changed to use -Os.

Anatolij