[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/qemu-xen: remove CFLAGS for qemu build
Olaf Hering writes ("Re: [Xen-devel] [PATCH] tools/qemu-xen: remove CFLAGS for qemu build"): > I think that there should be a way to pass individual external CFLAGS to > the tools, ipxe, qemu-traditional, qemu-xen, etc builds. Yes, but I think that's already supposed to exist. PREPEND_CFLAGS and APPEND_CFLAGS. Look in tools/Rules.mk. > From a distro perspective, its required to build libraries and binaries > with certain global cflags. Up to the point when qemu-upstream was > imported it worked as expected by exporting CFLAGS before 'make tools'. > Now qemu-upstream reuses these CFLAGS, but it cant deal with the result. > > How about something like this: > env \ > EXTRA_CFLAGS_XEN_TOOLS="$RPM_OPT_FLAGS" \ > EXTRA_CFLAGS_QEMU_UPSTREAM="" \ > EXTRA_CFLAGS_IPXE="" \ > ./configure <more options> It doesn't need to be plumbed through configure; it can just be used directly by make, although configure should use it for its tests I guess and probably doesn't right now. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |