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