From owner-freebsd-current@FreeBSD.ORG Wed Feb 29 00:08:44 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5428C106564A for ; Wed, 29 Feb 2012 00:08:44 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 07B348FC0A for ; Wed, 29 Feb 2012 00:08:43 +0000 (UTC) Received: by ggnk4 with SMTP id k4so2083436ggn.13 for ; Tue, 28 Feb 2012 16:08:43 -0800 (PST) Received-SPF: pass (google.com: domain of break19@gmail.com designates 10.236.155.101 as permitted sender) client-ip=10.236.155.101; Authentication-Results: mr.google.com; spf=pass (google.com: domain of break19@gmail.com designates 10.236.155.101 as permitted sender) smtp.mail=break19@gmail.com; dkim=pass header.i=break19@gmail.com Received: from mr.google.com ([10.236.155.101]) by 10.236.155.101 with SMTP id i65mr32304779yhk.52.1330474123481 (num_hops = 1); Tue, 28 Feb 2012 16:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lANvKx/lFkDOkWuLWPeSkTCzLN0fPvuUxiwTDWjwOsU=; b=GgXJF2gtXZUCpg4sdTf64tC6+Zi+PuK2qDylTo+x3bRmBDvIUueVP8mzJTR8vhjjlc gu6ndGZv386cLKiFokTYEeNBi/tdyaO8b5P6jWVBlUAVtrsQI0ob9/3SPb8eXhbZWrCI 6myCN1aSgz+qMr5/wpMzAda1RRYcfLlP61+mY= Received: by 10.236.155.101 with SMTP id i65mr24501353yhk.52.1330474123370; Tue, 28 Feb 2012 16:08:43 -0800 (PST) Received: from [192.168.4.106] (c-71-229-1-99.hsd1.al.comcast.net. [71.229.1.99]) by mx.google.com with ESMTPS id g49sm51173838yhk.20.2012.02.28.16.08.42 (version=SSLv3 cipher=OTHER); Tue, 28 Feb 2012 16:08:42 -0800 (PST) Message-ID: <4F4D6C7D.3030109@gmail.com> Date: Tue, 28 Feb 2012 18:08:29 -0600 From: Chuck Burns User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20120226213703.GA33988@freebsd.org> <4F4D34C8.9080507@FreeBSD.org> <20120228221149.GA95661@freebsd.org> <4F4D5B63.6020306@FreeBSD.org> In-Reply-To: <4F4D5B63.6020306@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: setting CC/CXX/CPP unconditionally in src.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 00:08:44 -0000 On 2/28/2012 4:55 PM, Ade Lovett wrote: > On 2/28/2012 14:11, Alexander Best wrote: >> any chance we can have a CFLAGS.gcc and CFLAGS.clang in the future? >> that would >> make certain things a lot easier. dealing with gcc specific options, >> such as >> -mpreferred-stack-boundary=2 would simply work by setting >> CFLAGS.gcc=-mpreferred-stack-boundary=2 e.g. > > You already can: > > CFLAGS.cc= cc_cflags_here > CFLAGS.clang= clang_cflags_here > > CFLAGS+= generic_cflags_here > CFLAGS+= ${CFLAGS.${CC}} > > > -aDe I think was asking for adding a third... .cc for base gcc .clang for .. clang...... and .gcc for ports gcc4x .. At least, thats how I read it, I could be wrong, it's happened before. Chuck