configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix' --enable-threads...
authorRobert Lipe <robertl@gcc.gnu.org>
Thu, 29 Apr 1999 20:20:15 +0000 (20:20 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Thu, 29 Apr 1999 20:20:15 +0000 (20:20 +0000)
        * 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

index 9d6b7a56e68fefe7b1c719ca639a31317918a5e3..09a3bbefc0c84c167c41af6591207c0e970d9f7f 100644 (file)
@@ -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}"