Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H29Pq-00087x-Dn for qemu-devel@nongnu.org; Wed, 03 Jan 2007 11:56:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H29Po-00087D-NY for qemu-devel@nongnu.org; Wed, 03 Jan 2007 11:56:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H29Po-000877-Jt for qemu-devel@nongnu.org; Wed, 03 Jan 2007 11:56:36 -0500 Received: from [195.3.96.91] (helo=email.aon.at) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H29Pn-0005Jn-F3 for qemu-devel@nongnu.org; Wed, 03 Jan 2007 11:56:35 -0500 Received: from m886p025.adsl.highway.telekom.at (HELO s37.loc) ([62.47.142.185]) (envelope-sender ) by smarthub76.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 3 Jan 2007 16:56:30 -0000 Date: Wed, 3 Jan 2007 17:58:23 +0100 From: Bernhard Fischer Subject: Re: [Qemu-devel] qemu Makefile configure Message-ID: <20070103165823.GB16663@aon.at> References: <20070103135950.GB5849@networkno.de> <459BCF30.5010200@bellard.org> <20070103161653.GF5849@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070103161653.GF5849@networkno.de> 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 Wed, Jan 03, 2007 at 04:16:53PM +0000, Thiemo Seufer wrote: >Fabrice Bellard wrote: >> IMHO, CFLAGS and LDFLAGS overriding should not be allowed for QEMU as it >> is almost sure to break the dyngen stuff. If ever it is allowed, it >> should be done so that the CFLAGS for the files used by dyngen are not >> modified. > >That's why I made OP_CFLAGS a separate set of flags. > >I append the next version of the patch, which incorporates the >suggestions made by Daniel and Bernhard, and fixes a gcc3 detection >bug I introduced earlier. Is the override directive a common extension? http://www.opengroup.org/onlinepubs/009695399/utilities/make.html I'd avoid override if possible and use a different variable instead (CC_CFLAGS, or the like) to be passed to the .c.o rules