]> 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)
commitcd4bd90f328c3d01e21d272555a1c917d7de3c27
treef39538af7642ebd4b7435821e46f6a3b85345367
parentf69924ba7d57e27f96839987a42d0dcd46ff5700
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