aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRobert Lipe <robertl@gcc.gnu.org>1999-04-29 20:20:15 +0000
committerRobert Lipe <robertl@gcc.gnu.org>1999-04-29 20:20:15 +0000
commit44310705102007b1909cb0ee1159533c412401f3 (patch)
treeccb24cd43ca2f3f4b7075dffe6ca03747248cbef /gcc
parent01e39005290ff31166241792557b1da8817125ae (diff)
downloadgcc-44310705102007b1909cb0ee1159533c412401f3.zip
gcc-44310705102007b1909cb0ee1159533c412401f3.tar.gz
gcc-44310705102007b1909cb0ee1159533c412401f3.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/sysv5.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/i386/sysv5.h b/gcc/config/i386/sysv5.h
index 9d6b7a5..09a3bbe 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}"