From: Tim Deegan Subject: Re: [PATCH 8 of 8] xen: add "clang=y" option to build Xen with clang/llvm instead of gcc Date: Tue, 8 Mar 2011 10:29:03 +0000 Message-ID: <20110308102903.GA21359@whitby.uk.xensource.com> References: <20110307162934.GD28479@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Ian Campbell , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 17:01 +0000 on 07 Mar (1299517318), Keir Fraser wrote: > On 07/03/2011 16:29, "Tim Deegan" wrote: > > > At 14:54 +0000 on 07 Mar (1299509669), Ian Campbell wrote: > >> Is it worth arranging for "gcc := y" when clang is not enabled? Then a > >> whole bunch of this sort of thing devolves into the > >> CFLAGS-$(a-particular-cc) += -Wfoo > >> pattern. > > > > Something like the attached? It tidies up four such ifeqs, at the cost > > of one new one to define $(gcc). > > (4 files changed, 17 insertions(+), 16 deletions(-)) > > This looks like a definite improvement in readability, to me. I'd like it to > be applied. Done (I'm interpreting this as an Acked-by:). Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)