Re: [PATCH] Make gcc -align options .config-settable

From: Andrew Morton
Date: Fri Oct 01 2004 - 17:23:47 EST


Denis Vlasenko <vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> With all alignment options set to 1 (minimum alignment),
> I've got 5% smaller vmlinux compared to one built with
> default code alignment.
>

Sam, can you process this one?

>
>
> +GCC_VERSION = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))

It bugs me that we're evaluating the same thing down in arch/i386/Makefile.
Perhaps we should evaluate GCC_VERSION once only, as some top-level kbuild
thing. So everyone can assume that it's present and correct?
-
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/