]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 20 Sep 2012 00:14:52 +0000 (10:14 +1000)
commit431f7060ee37aba030a29c4b0ee567d977525d4e
treeccda80b8c9a325f75d43a85ba4fa1c14732fe508
parent87eb8dcdeca7fbfe6b3edd91fffb8082281f3a0f
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