|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/configure: add options to pass EXTRA_CLFAGS
On Thu, Mar 15, Jan Beulich wrote:
> > This patch extends configure to recognize three environment variables
> > which will be written to config/Tools.mk so they will be reused with
> > each make invocation:
> > EXTRA_CFLAGS_XEN_TOOLS= specifies CFLAGS for the tools build.
> > EXTRA_CFLAGS_QEMU_TRADITIONAL= specifies CFLAGS for old qemu.
> > EXTRA_CFLAGS_QEMU_XEN= specifies CFLAGS for new qemu.
> > The new feature can be used like this in a rpm xen.spec file:
> >
> > env \
> > EXTRA_CFLAGS_XEN_TOOLS="${RPM_OPT_FLAGS}" \
> > EXTRA_CFLAGS_QEMU_TRADITIONAL="${RPM_OPT_FLAGS}" \
> > EXTRA_CFLAGS_QEMU_XEN="${RPM_OPT_FLAGS}" \
> > ./configure \
> > --libdir=%{_libdir} \
> > --prefix=/usr
> > make
> >
> > To make sure the EXTRA_CFLAGS appear first in the command line
>
> Wouldn't one rather want them to appear last (to eventually override
> other settings, namely the optimization level)?
If thats desired then the EXTRA_CFLAGS_XEN_TOOLS part is not needed,
APPEND_CFLAGS= could be used for that purpose. But this variable is not
yet handled as autoconf variable.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |