Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIRD0-0004xa-4Z for qemu-devel@nongnu.org; Fri, 25 Jan 2008 11:15:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIRCw-0004xO-RW for qemu-devel@nongnu.org; Fri, 25 Jan 2008 11:15:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIRCw-0004xL-N0 for qemu-devel@nongnu.org; Fri, 25 Jan 2008 11:15:10 -0500 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIRCw-0004ba-DQ for qemu-devel@nongnu.org; Fri, 25 Jan 2008 11:15:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18330.2699.202394.792999@mariner.uk.xensource.com> Date: Fri, 25 Jan 2008 16:12:59 +0000 Subject: Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target In-Reply-To: <200801251603.12341.paul@codesourcery.com> References: <18329.61367.473953.391435@mariner.uk.xensource.com> <200801251536.57814.paul@codesourcery.com> <18330.565.643731.225337@mariner.uk.xensource.com> <200801251603.12341.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"): > Huh? No it doesn't. config-host.mak contains > CPPFLAGS= > then Makefile.target contains > CPPFLAGS+=whatever It doesn't seem to on my build. > Why don't you just put your custom flags in CFLAGS, not CPPFLAGS? > The former is deliberately left for the user to override. Several (but not all AFAICT) of the target subdirectory Makefiles set CFLAGS. Anyway, I think you're right that I should go away and think about this some more. Sorry for the inconvenience. Ian.