FreeBSD build broken due to missing -lrt
authorBruce Cran <bruce@cran.org.uk>
Wed, 15 Dec 2010 09:33:03 +0000 (10:33 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 15 Dec 2010 09:33:03 +0000 (10:33 +0100)
commit0f2152c19ed12fc2280c3d475973112f18e48cd5
tree27773cf47c18f028af16e1c5645553b25ba9df8f
parentcda99fa0fcca41fc0d54ecaa2fd600162a8de5d3
FreeBSD build broken due to missing -lrt

The latest fio fails to link on FreeBSD because timer_create is in
librt but the -lrt flag is missing from Makefile.FreeBSD.

I also noticed a couple of compiler warnings when building with clang -
a format of "%Lu" is used but 'L' doesn't have any effect with 'u' - I
guess %llu is needed since the types are 'unsigned long long'?

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Makefile.FreeBSD
filesetup.c