1 |
Damn, you're absolutely right. |
2 |
|
3 |
I just tested it using make V=1. |
4 |
kernel make does override CFLAGs from the outside. |
5 |
|
6 |
But that's interesting: my processor supports -march=core-avx2 and none |
7 |
of the linux kernel processor family uses this flag... |
8 |
|
9 |
Thx |
10 |
Ralf |
11 |
|
12 |
On 04/29/2015 02:41 PM, Emanuele Rusconi wrote: |
13 |
> Does the kernel building use the CFLAGS at all? |
14 |
> The arch is set during the configuration step ("Processor type and |
15 |
> features" / "Processor family"), |
16 |
> and there's an "optimize for size" option under "General setup", which |
17 |
> I suppose corresponds to -Os. |