1 From 33698eeb8af452867970d99e9575e9bdc5157367 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 aa115adf52f..698d0cad2e4 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