From 44310705102007b1909cb0ee1159533c412401f3 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Thu, 29 Apr 1999 20:20:15 +0000 Subject: [PATCH] configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix' --enable-threads[={yes,pthreads,posix}] is passed as... * configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix' --enable-threads[={yes,pthreads,posix}] is passed as a command line parameter to configure. * config/i386/sysv5.h (LIB_SPEC): Add support for '-pthread'. (CPP_SPEC): Likewise. From-SVN: r26702 --- gcc/config/i386/sysv5.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/sysv5.h b/gcc/config/i386/sysv5.h index 9d6b7a56e68f..09a3bbefc0c8 100644 --- a/gcc/config/i386/sysv5.h +++ b/gcc/config/i386/sysv5.h @@ -29,4 +29,7 @@ Boston, MA 02111-1307, USA. */ /* Add -lcrt for Dwarf2 abbreviation table */ #undef LIB_SPEC -#define LIB_SPEC "%{!shared:%{!symbolic:-lc -lcrt}}" +#define LIB_SPEC "%{pthread:-lthread} %{!shared:%{!symbolic:-lc -lcrt}}" + +#undef CPP_SPEC +#define CPP_SPEC "%{pthread:-D_REENTRANT}" -- 2.47.2