]> git.baikalelectronics.ru Git - kernel.git/commit
tools/virtio: compile with -pthread
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 20 Mar 2022 11:02:14 +0000 (07:02 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2022 20:52:59 +0000 (16:52 -0400)
commita6a38ed79a945b5e6a8aa3c066e1bcb92d1247c4
treef39538af7642ebd4b7435821e46f6a3b85345367
parent80448e2b3fa2193c70b54f13264adc00b7235bad
tools/virtio: compile with -pthread

When using pthreads, one has to compile and link with -lpthread,
otherwise e.g. glibc is not guaranteed to be reentrant.

This replaces -lpthread.

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/Makefile