From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIPjO-0004rx-FS for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:40:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIPjN-0004rZ-TN for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:40:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIPjN-0004rL-LD for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:40:33 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JIPjN-0005zN-CF for qemu-devel@nongnu.org; Fri, 25 Jan 2008 09:40:33 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target Date: Fri, 25 Jan 2008 14:39:57 +0000 References: <18329.61367.473953.391435@mariner.uk.xensource.com> In-Reply-To: <18329.61367.473953.391435@mariner.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801251439.58215.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Ian Jackson > Saying CPPFLAGS+= is much more convenient if for any reason the > external build environment would like to pass unusual CPPFLAGS. 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 +=. Paul