tools: Fix pthread flag for Makefile of trace-agent used by virtio-trace
authorYoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
Tue, 4 Sep 2012 00:53:39 +0000 (09:53 +0900)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Sep 2012 05:35:13 +0000 (15:05 +0930)
commit5b8fa822b71fa91b17c9fb38bcca31e771f7650d
treef059d09027ae0e132b2c9b811f214d63b8bdd1e7
parent108fc82596e3b66b819df9d28c1ebbc9ab5de14c
tools: Fix pthread flag for Makefile of trace-agent used by virtio-trace

pthread flag should not be -lpthread but -pthread using gcc. The -lpthread
links the external multithread library. On the other hand, the -pthread manages
both the gcc's preprocessor and linker to be able to compile with pthread.

Signed-off-by: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/virtio/virtio-trace/Makefile