Damn, you're absolutely right.

I just tested it using make V=1.
kernel make does override CFLAGs from the outside.

But that's interesting: my processor supports -march=core-avx2 and none
of the linux kernel processor family uses this flag...

Thx
  Ralf

On 04/29/2015 02:41 PM, Emanuele Rusconi wrote:
> 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.


Reply via email to