Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: CFLAGs for kernel compilation
Date: Thu, 30 Apr 2015 00:01:46
Message-Id: mhrrch$fp0$1@ger.gmane.org
In Reply to: [gentoo-user] Re: CFLAGs for kernel compilation by Nikos Chantziaras
1 On 30/04/15 02:52, Nikos Chantziaras wrote:
2 > On 29/04/15 16:35, Holger Hoffstätte wrote:
3 >> On Wed, 29 Apr 2015 15:18:23 +0200, Ralf wrote:
4 >>
5 >>> Damn, you're absolutely right.
6 >>>
7 >>> I just tested it using make V=1.
8 >>> kernel make does override CFLAGs from the outside.
9 >>>
10 >>> But that's interesting: my processor supports -march=core-avx2 and none
11 >>> of the linux kernel processor family uses this flag...
12 >>
13 >> https://github.com/graysky2/kernel_gcc_patch
14 >
15 > This is already applied when enabling the "experimental" USE flag. At
16 > least, that's what the docs claim:
17 >
18 > $ equery uses gentoo-sources
19
20 However, I just checked and it's not being applied. So either the
21 documentation is wrong, or the ebuild/eclass has a bug.