Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJQ0w-0008TT-Rc for qemu-devel@nongnu.org; Mon, 28 Jan 2008 04:10:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJQ0v-0008TE-5j for qemu-devel@nongnu.org; Mon, 28 Jan 2008 04:10:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJQ0v-0008TB-3B for qemu-devel@nongnu.org; Mon, 28 Jan 2008 04:10:49 -0500 Received: from m9.wifi.enstb.org ([193.50.97.170] helo=an-dro.enstb.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JJQ0u-0003Eg-Hc for qemu-devel@nongnu.org; Mon, 28 Jan 2008 04:10:49 -0500 Received: from an-dro.enstb.org (keryell@localhost [127.0.0.1]) by an-dro.enstb.org (8.14.2/8.14.2/Debian-2) with ESMTP id m0S9A8pK024842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 28 Jan 2008 10:10:09 +0100 Subject: Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target References: <18329.61367.473953.391435@mariner.uk.xensource.com> <200801251439.58215.paul@codesourcery.com> From: Ronan Keryell Date: Mon, 28 Jan 2008 10:09:58 +0100 In-Reply-To: <200801251439.58215.paul@codesourcery.com> (Paul Brook's message of "Fri\, 25 Jan 2008 14\:39\:57 +0000") Message-ID: <87ir1egvtl.fsf@an-dro.enstb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable 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 >>>>> On Fri, 25 Jan 2008 14:39:57 +0000, Paul Brook said: >> Saying CPPFLAGS+=3D is much more convenient if for any reason the >> external build environment would like to pass unusual CPPFLAGS. Paul> No. This doesn't do what you thing it does. The most common way Paul> of overriding these variables is to pass them on the Paul> commandline, i.e. "make CPPFLAGS=3D-blah". This overrides all Paul> assignments to that variable including +=3D. By the way, it is possible to improve the GNU make weirdness :-) by playing with stuff like: override CFLAGS +=3D -g Cf section 6.7 of the documentation. Hmmm... GNU make evolves more rapidly than my brain... :-) --=20 Ronan KERYELL |\/ Tel: (+33|0) 2.29.00.14.15 D=E9partement Informatique |/) Fax: (+33|0) 2.29.00.12.82 T=C9L=C9COM Bretagne, CS 83818 K GSM: (+33|0) 6.13.14.37.66 F-29238 PLOUZAN=C9 CEDEX 3 |\ E-mail: rk@enstb.org FRANCE | \ http://enstb.org/~keryell