1 From 7af5d821e17c329a23d8d9aab1f624797f4daa9d Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <omnios@citrus-it.co.uk>
3 Date: Mon, 11 Mar 2019 10:41:58 +0000
4 Subject: libpthread is a filter in illumos; all functionality
5 has been migrated to libc. Prevent gcc from linking with libpthread if
6 -pthread[s] is passed as an option.
8 Some build systems such as meson/ninja pass this option.
10 gcc/config/sol2.h | 1 -
11 1 file changed, 1 deletion(-)
13 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
14 index 84ba24273fc..336c3516064 100644
15 --- a/gcc/config/sol2.h
16 +++ b/gcc/config/sol2.h
17 @@ -161,7 +161,6 @@ along with GCC; see the file COPYING3. If not see
21 - %{pthreads|pthread:-lpthread} \
24 #ifndef CROSS_DIRECTORY_STRUCTURE