winegcc: Pass through -pthread.
commitd209d9feb6ee63e45ecdb23d8d8440f88fe9a64a
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 2 Jul 2021 09:47:59 +0000 (2 11:47 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Jul 2021 14:53:51 +0000 (2 16:53 +0200)
treed7b14d0417c71ff07b6da625ae9f50ed25898c0a
parentf1ab3c8d763d47b84769af2872fb27e74922ef91
winegcc: Pass through -pthread.

While you could get 90% of the way with "-lpthread", supporting -pthread
should be more reliable and is required for build systems like meson
that have special handling for the threads dependency.

Since this is both a compiler (really preprocessor) and linker option,
we can't just add it to is_linker_arg().

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
tools/winegcc/winegcc.c