> - I don't like invoking 'CFLAGS="-O2 -march=foo"make' > - I don't want to set CFLAGS as a persistent environment variable.
Does the kernel building use the CFLAGS at all? The arch is set during the configuration step ("Processor type and features" / "Processor family"), and there's an "optimize for size" option under "General setup", which I suppose corresponds to -Os. -- Emanuele Rusconi