Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIQed-0000uf-BL for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIQeb-0000tQ-BJ for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIQeb-0000tL-5M for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:41 -0500 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIQeb-0004QT-3I for qemu-devel@nongnu.org; Fri, 25 Jan 2008 10:39:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18330.565.643731.225337@mariner.uk.xensource.com> Date: Fri, 25 Jan 2008 15:37:25 +0000 Subject: Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target In-Reply-To: <200801251536.57814.paul@codesourcery.com> References: <18329.61367.473953.391435@mariner.uk.xensource.com> <18329.62928.792579.75725@mariner.uk.xensource.com> <18329.63185.661839.17070@mariner.uk.xensource.com> <200801251536.57814.paul@codesourcery.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org Paul Brook writes ("Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target"): > In that case you should always provide a definition in config-host.mak. > Under some circumstances make may inherit initial values from elsewhere. What circumstances ? CPPFLAGS+= overrides (discards) values in the environment as well as ones from the command line. Providing a definition in config-host.mak involves duplicating the value, which can't be right. If there's no other way to do it then there should be a reference to USER_CPPFLAGS or some such but frankly that's a pain and overkill. Ian.