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 B5BD3138C9D for ; Wed, 29 Apr 2015 23:53:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B94D9E0845; Wed, 29 Apr 2015 23:53:11 +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 932A0E0837 for ; Wed, 29 Apr 2015 23:53:10 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ynbmr-0004W9-Oi for gentoo-user@lists.gentoo.org; Thu, 30 Apr 2015 01:53:05 +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 01:53:05 +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 01:53:05 +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 02:52:58 +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: dc9d06e5-a1f7-4fcd-9702-f88c45842d7c X-Archives-Hash: cc34473bac5b99c5c8177f1962a985e0 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