From owner-freebsd-current@FreeBSD.ORG Tue Feb 28 23:11:41 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 6DC461065676; Tue, 28 Feb 2012 23:11:41 +0000 (UTC) (envelope-from ade@FreeBSD.org) Received: from panix.lovett.com (panix.lovett.com [166.84.7.128]) by mx1.freebsd.org (Postfix) with ESMTP id 481A88FC16; Tue, 28 Feb 2012 23:11:41 +0000 (UTC) Received: from nat-dip4.cfw-a-gci.corp.yahoo.com ([209.131.62.113] helo=[10.72.180.251]) by panix.lovett.com with esmtpa (Exim 4.77 (FreeBSD)) (envelope-from ) id 1S2VxE-0002Sk-Mb; Tue, 28 Feb 2012 22:55:32 +0000 Message-ID: <4F4D5B63.6020306@FreeBSD.org> Date: Tue, 28 Feb 2012 14:55:31 -0800 From: Ade Lovett 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-toolchain@freebsd.org References: <20120226213703.GA33988@freebsd.org> <4F4D34C8.9080507@FreeBSD.org> <20120228221149.GA95661@freebsd.org> In-Reply-To: <20120228221149.GA95661@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org 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: Tue, 28 Feb 2012 23:11:41 -0000 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