OSDN Git Service

* configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix'
authorrobertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Apr 1999 20:20:15 +0000 (20:20 +0000)
committerrobertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Apr 1999 20:20:15 +0000 (20:20 +0000)
        --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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26702 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/sysv5.h

index 9d6b7a5..09a3bbe 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}"