[libvirt] [PATCH] build: avoid requiring -lm
Daniel Veillard
veillard at redhat.com
Tue Jul 12 01:47:31 UTC 2011
On Mon, Jul 11, 2011 at 09:37:22PM -0400, Dave Allan wrote:
> On Mon, Jul 11, 2011 at 05:29:24PM -0600, Eric Blake wrote:
> > log2() is heavy when ffs() can do the same thing. But ffs()
> > requires gnulib support for mingw.
> >
> > * .gnulib: Update to latest, for ffs.
> > * bootstrap.conf (gnulib_modules): Import ffs.
> > * src/conf/domain_conf.c (virDomainDefParseXML): Use ffs instead
> > of log2.
> > Reported by Dave Allan.
> > ---
> >
> > Pushing under the build-breaker rule, as I reproduced the log2
> > failure on F14.
>
> Thanks, that fixes it for me.
Weird that worked for me on F14, but sure, fine :-)
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list