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 2B633138C9D for ; Wed, 29 Apr 2015 12:42:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15B19E09B7; Wed, 29 Apr 2015 12:42:32 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) (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 DAD0EE09A1 for ; Wed, 29 Apr 2015 12:42:30 +0000 (UTC) Received: by oign205 with SMTP id n205so20151313oig.2 for ; Wed, 29 Apr 2015 05:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=fe0hNBTGJFSQ9f3eTtEu34vWfW3//TOZvl8tS8C6OUE=; b=e8Vgjf8QSB+Sfja300a1G8qemCCwaZVOt5NLKAAT5osrwVQvBOmP8j4BOvZ/yRsaVd J9Ve7DM9Tn00VmRosX8vkBtJ6bIx97Z25sp4+bxOHqfzxILphEuGEgkK7HSVMdFLI/Vd XFmwTPEyubKKYAiX/twb2wDfOAEi/ZMIcPkgKwMHdNPv4R4trLbuu2r782lcF17PqK1J TcHfJ9KXWF1XXXDYRPGm/KQC3eGqZXrtM6v/fdaztE5fe1UY+Y1r9Ecli+wrr+O5yGft xAFTFWSHFhhtI2A4Eyciv/+43OH5pKcQqd6SSPJZXf8n+c0rofXwqo4eCWo6Uezzy6eA OF0w== X-Received: by 10.182.255.171 with SMTP id ar11mr9018025obd.29.1430311350201; Wed, 29 Apr 2015 05:42:30 -0700 (PDT) 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 Received: by 10.76.110.179 with HTTP; Wed, 29 Apr 2015 05:41:59 -0700 (PDT) In-Reply-To: <20150429133315.0678687f@digimed.co.uk> References: <5540C101.70906@ramses-pyramidenbau.de> <20150429133315.0678687f@digimed.co.uk> From: Emanuele Rusconi Date: Wed, 29 Apr 2015 14:41:59 +0200 Message-ID: Subject: Re: [gentoo-user] CFLAGs for kernel compilation To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=001a1134a470f2955e0514dc4f7d X-Archives-Salt: 0aed1654-6203-457f-873b-648f2a53f390 X-Archives-Hash: 484ab02b78360af6ad4ba733eea8fbf7 --001a1134a470f2955e0514dc4f7d Content-Type: text/plain; charset=UTF-8 > - I don't like invoking 'CFLAGS="-O2 -march=foo"make' > - I don't want to set CFLAGS as a persistent environment variable. Does the kernel building use the CFLAGS at all? The arch is set during the configuration step ("Processor type and features" / "Processor family"), and there's an "optimize for size" option under "General setup", which I suppose corresponds to -Os. -- Emanuele Rusconi --001a1134a470f2955e0514dc4f7d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> - I don't like invoking 'CFLAGS=3D"-O2 -march=3Dfoo"= make'
> - I don't want to set CFLAGS as a persistent environment variable.=

Does the kernel building use the CFLAGS at all?
The= arch is set during the configuration step ("Processor type and featur= es" / "Processor family"),
and there's an "optim= ize for size" option under "General setup", which I suppose = corresponds to -Os.

-- Emanuele Rusconi
--001a1134a470f2955e0514dc4f7d--