Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIPpB-0006j4-M2 for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:46:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIPpA-0006hv-FI for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:46:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIPpA-0006hg-6f for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:46:32 -0500 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIPpA-0007W5-0n for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:46:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18329.62928.792579.75725@mariner.uk.xensource.com> Date: Fri, 25 Jan 2008 14:44:32 +0000 Subject: Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target In-Reply-To: <200801251439.58215.paul@codesourcery.com> References: <18329.61367.473953.391435@mariner.uk.xensource.com> <200801251439.58215.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"): > No. This doesn't do what you thing it does. > The most common way of overriding these variables is to pass them on the > commandline, i.e. "make CPPFLAGS=-blah". This overrides all assignments to > that variable including +=. Err, yes (and this is annoying behaviour in make), but if Makefile.target sets CPPFLAGS=-I... then even config.mak cannot override it. Ian.