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 CE557138C9D for ; Thu, 30 Apr 2015 16:26:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 792EDE0851; Thu, 30 Apr 2015 16:26:27 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49597E0841 for ; Thu, 30 Apr 2015 16:26:26 +0000 (UTC) Received: by wief7 with SMTP id f7so17062174wie.0 for ; Thu, 30 Apr 2015 09:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=IPwXLUK9TSkTtvCAHmNR5zXWY1GuHNBpdlDxK3TXEtc=; b=zRlQBEMt/es6tgix7+pBFEYsgyuW6R6jQSOWdazaYPfpi9+FFsGk+5RyuoMeBsYcra zojZyjcYx0Js9FyvvRHymQM7itluQWUu3q0ZjBckJkUb59YVt07iq9vZeWjpoxVo78Ja eq2xxAHBcroCni8aUuzF03e6GitJOGNmx9tAZJTiXbWuAhD1aszLZ/dYOj1d7BeSu61f EEcqUo2U+m903/EMFwhc3qNA0pHc1gNItGdVmo2Z4LgUk1Z+AT8k9YmHdakemRY6C3QF qBnqADQ55f/WQXp7rSGsNf6NwxOScklKwJP95ue3eJYxh3vOzzFQfEAfHw40yMo2XpXt whQw== X-Received: by 10.194.192.226 with SMTP id hj2mr10284305wjc.51.1430411185118; Thu, 30 Apr 2015 09:26:25 -0700 (PDT) Received: from [192.168.178.21] (p5B0C5F3F.dip0.t-ipconnect.de. [91.12.95.63]) by mx.google.com with ESMTPSA id l20sm3952311wjw.42.2015.04.30.09.26.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Apr 2015 09:26:24 -0700 (PDT) Message-ID: <554257AE.8020503@googlemail.com> Date: Thu, 30 Apr 2015 18:26:22 +0200 From: Volker Armin Hemmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] CFLAGs for kernel compilation References: <5540C101.70906@ramses-pyramidenbau.de> In-Reply-To: <5540C101.70906@ramses-pyramidenbau.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 26660ae8-4195-40d7-b5f3-1243b8fdcedc X-Archives-Hash: e2651fa43d44979d5f0dcd057c735f97 Am 29.04.2015 um 13:31 schrieb Ralf: > Hi, > > just a short question: I don't like genkernel, I always compile my > kernel manually using menuconfig. > So the CFLAGs of my make.conf won't get applied. as it should be. > > What is the best way to (persistently) set the CFLAGs for the kernel > compilation? you don't touch kernel cflags. That simple. The kernel is too important and the people programming it know what they are doing. Don't set anything. It is retarded. > > - I don't like invoking 'CFLAGS="-O2 -march=foo"make' > - I don't want to set CFLAGS as a persistent environment variable. > - I don't want to modify the kernel Makefile > > Does it actually make sense to set an optimization level and -march? no