From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 113C1138C9D for ; Thu, 30 Apr 2015 00:01:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8FDEE084B; Thu, 30 Apr 2015 00:01:38 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D121E0807 for ; Thu, 30 Apr 2015 00:01:37 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ynbv4-0002IR-6j for gentoo-user@lists.gentoo.org; Thu, 30 Apr 2015 02:01:34 +0200 Received: from athedsl-354722.home.otenet.gr ([85.72.241.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 02:01:34 +0200 Received: from realnc by athedsl-354722.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 02:01:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: CFLAGs for kernel compilation Date: Thu, 30 Apr 2015 03:01:21 +0300 Organization: Lucas Barks Message-ID: References: <5540C101.70906@ramses-pyramidenbau.de> <20150429133315.0678687f@digimed.co.uk> <5540DA1F.8030605@ramses-pyramidenbau.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-354722.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-Archives-Salt: cfa5648f-1247-4365-9636-63ffd6a2aba2 X-Archives-Hash: a34a37b33a2f92e059947b947fab4cc8 On 30/04/15 02:52, Nikos Chantziaras wrote: > On 29/04/15 16:35, Holger Hoffstätte wrote: >> On Wed, 29 Apr 2015 15:18:23 +0200, Ralf wrote: >> >>> 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... >> >> https://github.com/graysky2/kernel_gcc_patch > > This is already applied when enabling the "experimental" USE flag. At > least, that's what the docs claim: > > $ equery uses gentoo-sources However, I just checked and it's not being applied. So either the documentation is wrong, or the ebuild/eclass has a bug.