* [Qemu-devel] Re: Compiling qemu with nas installed
@ 2009-03-11 16:54 Hasso Tepper
2009-03-11 18:37 ` Anthony Liguori
0 siblings, 1 reply; 2+ messages in thread
From: Hasso Tepper @ 2009-03-11 16:54 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Re: Compiling qemu with nas installed
2009-03-11 16:54 [Qemu-devel] Re: Compiling qemu with nas installed Hasso Tepper
@ 2009-03-11 18:37 ` Anthony Liguori
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2009-03-11 18:37 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-11 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 16:54 [Qemu-devel] Re: Compiling qemu with nas installed Hasso Tepper
2009-03-11 18:37 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).