From: Keir Fraser Subject: Re: [PATCH] clean up CFLAGS Date: Thu, 9 Mar 2006 20:18:38 +0000 Message-ID: <4794864f04ed372eb68949d387cccbfc@cl.cam.ac.uk> References: <441022BC.D169.003C.0@novell.com> <7b2382655a2fb46f17db47d57d745413@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7b2382655a2fb46f17db47d57d745413@cl.cam.ac.uk> 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: Charles Coffing , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 9 Mar 2006, at 19:47, Keir Fraser wrote: > I'll take a look at applying some of these piecemeal. After a quick > browse I see that the miniterm Makefile is broken (it is intended to > be built and installed on the external box, not the Xen box, so HOSTCC > is probably right for it but the potentially cross-compiling CC is > definitely not), and the changes to vmxassist and hvmloader have no > effect and I see no reason to prefer them over what is there already. > No comment on the rest as yet... The rest looked okay to me, except I'm not 100% sure about pulling the optimisation level out to Config.mk. It means if things liek Xen itself want to make a debug build, they'd have to strip out the passed-in '-O?' option which is a pain. So I left that part of the patch out for now. And I made -Wall unconditionally added to CFLAGS in Config.mk instead of "?=". I don't think it can ever hurt? -- Keir