From: Keir Fraser Subject: Re: [PATCH] xen/Rules.mk: Do not dance about pointlessly with CFLAGS_tmp Date: Mon, 12 Jan 2009 20:26:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: 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: Ian Jackson , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/01/2009 18:55, "Keir Fraser" wrote: >> However this seddery is not actually necessary because there is plenty >> of other machinery for (a) only setting -fomit-frame-frame-pointer >> when applicable AND (b) passing -fno-omit-frame-pointer later on the >> command line if it's not applicable. So we already have belt and >> braces and can remove the safety pins. > > You missed a := in arch/x86/Rules.mk. Can that one be avoided so easily? Ah, well the answer is rather obviously yes. I'll fix this one up myself and check it in. I'll also adjust cc-option to run $(CC) immediately and add the resulting appropriate option correctly even to a recursively-expanded variable. So $(CC) execution is not delayed and does not occur multiple times even if CFLAGS is expanded multiple times. -- Keir