From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhTIn-00060K-L0 for qemu-devel@nongnu.org; Wed, 11 Mar 2009 14:37:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhTIk-000602-PC for qemu-devel@nongnu.org; Wed, 11 Mar 2009 14:37:12 -0400 Received: from [199.232.76.173] (port=35595 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhTIk-0005zz-Hp for qemu-devel@nongnu.org; Wed, 11 Mar 2009 14:37:10 -0400 Received: from rv-out-0708.google.com ([209.85.198.245]:17186) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhTIk-0003cI-6V for qemu-devel@nongnu.org; Wed, 11 Mar 2009 14:37:10 -0400 Received: by rv-out-0708.google.com with SMTP id f25so117645rvb.22 for ; Wed, 11 Mar 2009 11:37:08 -0700 (PDT) Message-ID: <49B804D0.50304@codemonkey.ws> Date: Wed, 11 Mar 2009 13:37:04 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Compiling qemu with nas installed References: <200903111854.50355.hasso@estpak.ee> In-Reply-To: <200903111854.50355.hasso@estpak.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Hasso Tepper wrote: > 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. > Right now, setting CPPFLAGS and LDFLAGS is not what's supported by QEMU so if you do that (instead of using --extra-cflags --extra-ldflags), YMMV. Regards, Anthony Liguori