Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhRhp-0000Ml-GP for qemu-devel@nongnu.org; Wed, 11 Mar 2009 12:54:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhRhn-0000KO-Uh for qemu-devel@nongnu.org; Wed, 11 Mar 2009 12:54:57 -0400 Received: from [199.232.76.173] (port=49825 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhRhn-0000KE-LZ for qemu-devel@nongnu.org; Wed, 11 Mar 2009 12:54:55 -0400 Received: from smtp.zone.ee ([195.222.29.84]:43990) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhRhn-0007ka-7X for qemu-devel@nongnu.org; Wed, 11 Mar 2009 12:54:55 -0400 Received: from [10.9.0.21] (wall-fa1.estpak.ee [194.126.115.33]) by smtp.zone.ee (Postfix) with ESMTP id A5AF511E8037 for ; Wed, 11 Mar 2009 18:54:51 +0200 (EET) From: Hasso Tepper Date: Wed, 11 Mar 2009 18:54:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903111854.50355.hasso@estpak.ee> Subject: [Qemu-devel] Re: Compiling qemu with nas installed 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 Anthony Liguori wrote: > You should use --extra-cflags and --extra-ldflags. If we're not already > making these come before our -I$(srcdir), then we should change that. Well, I may do whatever, but CPPFLAGS (yes this is correct, not CFLAGS) and LDFLAGS is a common way also used by pkgsrc package management system (therefore out of control of user at all). > Basically, we need to ensure that any of our headers have include > priority over system headers in the search path. Yes, but to do it regardless what user might specify via CPPFLAGS. -- Hasso Tepper