rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / developer / gcc-11 / patches / 0014-libpthread-is-a-filter-in-illumos-all-functionality-.patch
bloba74354616677ee1bbf807d16d09636ccb8d21cda
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.
9 ---
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
18 #undef LIB_SPEC
19 #define LIB_SPEC \
20 "%{!symbolic:\
21 - %{pthreads|pthread:-lpthread} \
22 %{p|pg:-ldl} -lc}"
24 #ifndef CROSS_DIRECTORY_STRUCTURE