Re: [2.6 patch] offer CC_OPTIMIZE_FOR_SIZE only if EXPERIMENTAL

From: Adrian Bunk
Date: Wed Dec 14 2005 - 17:25:44 EST


On Wed, Dec 14, 2005 at 02:22:16PM -0800, Andrew Morton wrote:
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >
> > CC_OPTIMIZE_FOR_SIZE is still an experimental feature that doesn't work
> > with all supported gcc/architecture combinations.
> >
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
> >
> > --- linux-git/init/Kconfig.old 2005-12-14 23:08:51.000000000 +0100
> > +++ linux-git/init/Kconfig 2005-12-14 23:09:09.000000000 +0100
> > @@ -257,7 +257,7 @@
> > source "usr/Kconfig"
> >
> > config CC_OPTIMIZE_FOR_SIZE
> > - bool "Optimize for size"
> > + bool "Optimize for size (EXPERIMENTAL)" if EXPERIMENTAL
> > default y if ARM || H8300
> > help
> > Enabling this option will pass "-Os" instead of "-O2" to gcc
>
> This will cause arm and h8300 to accidentally stop using -Os if they have
> !EXPERIMENTAL.

No, arm and h8300 will use -Os with !EXPERIMENTAL.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/