From 016003468a3be26a679e54d67bb3c78b90eabb76 Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Wed, 23 Mar 2022 02:13:11 +0000 Subject: [PATCH] legacy/gcc: add -pthread no-op. --- legacy/gcc/gcc/config/i386/haiku.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/gcc/gcc/config/i386/haiku.h b/legacy/gcc/gcc/config/i386/haiku.h index 34037325be..5508fbb2ab 100644 --- a/legacy/gcc/gcc/config/i386/haiku.h +++ b/legacy/gcc/gcc/config/i386/haiku.h @@ -163,7 +163,7 @@ Boston, MA 02111-1307, USA. */ -Asystem(haiku)" #undef CPP_SPEC -#define CPP_SPEC "%(cpp_cpu) %{!fno-pic:%{!fno-PIC:-D__PIC__ -D__pic__}}" +#define CPP_SPEC "%(cpp_cpu) %{!fno-pic:%{!fno-PIC:-D__PIC__ -D__pic__}} %{pthread:}" /* Haiku uses lots of multichars, so don't warn about them unless the user explicitly asks for the warnings with -Wmultichar. Note that