Gentoo Archives: gentoo-user

From: Ralf <ralf+gentoo@×××××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFLAGs for kernel compilation
Date: Wed, 29 Apr 2015 13:18:20
Message-Id: 5540DA1F.8030605@ramses-pyramidenbau.de
In Reply to: Re: [gentoo-user] CFLAGs for kernel compilation by Emanuele Rusconi
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.

Replies

Subject Author
[gentoo-user] Re: CFLAGs for kernel compilation "Holger Hoffstätte" <holger.hoffstaette@××××××××××.com>
Re: [gentoo-user] CFLAGs for kernel compilation Volker Armin Hemmann <volkerarmin@××××××××××.com>