[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] random: link with -lm when needed



On 08/14/2012 03:44 PM, Eric Blake wrote:
> Use of ldexp() requires -lm on some platforms; use gnulib to determine
> this for our makefile.  Also, optimize virRandomInt() for the case
> of a power-of-two limit (actually rather common, given that Daniel
> has a pending patch to replace virRandomBis(10) with code that will
> default to virRandomInt(1024) on default SELinux settings).

ACK.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]