]> 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>
Fri, 7 Sep 2012 00:33:30 +0000 (10:33 +1000)
commited9a1897a5ae8898c78a225f026c9bc4abd33c7f
treea63e48650c20514f1dcba0341ce9def1d18fb7ac
parent4e15ac60bf113ce151b3a5f0bf136d2877683e43
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