On Sun, 14 Oct 2007, Franck Bui-Huu wrote:
> > Though either way I am not sure these would have to be put in Kconfig or
> > Makefile anywhere. A generic way should be enough for the insistent as
> > the potentially useful options may proliferate; we have the CFLAGS_KERNEL
> > and CFLAGS_MODULE Makefile variables that would suit for setting upon
> > `make' invocation.
>
> In that case very few people would use this optimization.
It's their problem then, isn't it?
> We could just have one new Kconfig option in kernel hacking submenu:
>
> config EXTRA_CFLAGS
> string
> help
> If you want to pass additionnal option to GCC
> for optimization purpose for example, use this.
I don't think we want to see clueless reports from people who have not
bothered themselves to understand how `make' works and happened to put
some rubbish into CONFIG_EXTRA_CFLAGS. Do we?
Maciej
|