Home
last modified time | relevance | path

Searched hist:"8 bacde8d86a09699207d85d4bab06162aed18dc4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dconfigure8bacde8d86a09699207d85d4bab06162aed18dc4 Wed Sep 12 04:06:51 CDT 2012 Natanael Copa <natanael.copa@gmail.com> configure: properly check if -lrt and -lm is needed

Fixes build against uClibc.

uClibc provides 2 versions of clock_gettime(), one with realtime
support and one without (this is so you can avoid linking in -lrt
unless actually needed). This means that the clock_gettime() don't
need -lrt. We still need it for timer_create() so we check for this
function in addition.

We also need check if -lm is needed for isnan().

Both -lm and -lrt are needed for libs_qga.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>