Fix linking of fio executable
authorDiego Elio Pettenò <flameeyes@gmail.com>
Mon, 21 Mar 2011 19:13:53 +0000 (20:13 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 21 Mar 2011 19:13:53 +0000 (20:13 +0100)
commite52947d15cf0d7d31c30ccdc43450a10081976da
tree8079e1a63b264012096b7bcfb0201a25ad11f8cb
parentad0a273593b93f61e72fbdf1910fcf8cdcac738c
Fix linking of fio executable

First of all make sure that $(LDFLAGS) are used during linking so that the
user can set the linker's flags.

Then also make sure that libraries are listed after the objects, so that
GNU ld's --as-needed option will not cause fio linking to fail.

Cc: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Makefile