summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/sysv5.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/sysv5.h b/gcc/config/i386/sysv5.h
index 09a3bbefc0c..8c4ac625948 100644
--- a/gcc/config/i386/sysv5.h
+++ b/gcc/config/i386/sysv5.h
@@ -29,7 +29,8 @@ Boston, MA 02111-1307, USA. */
/* Add -lcrt for Dwarf2 abbreviation table */
#undef LIB_SPEC
-#define LIB_SPEC "%{pthread:-lthread} %{!shared:%{!symbolic:-lc -lcrt}}"
+#define LIB_SPEC "%{pthread:-lthread} %{pthreadT:-lthreadT} \
+ %{!shared:%{!symbolic:-lc -lcrt}}"
#undef CPP_SPEC
-#define CPP_SPEC "%{pthread:-D_REENTRANT}"
+#define CPP_SPEC "%{pthread:-D_REENTRANT} %{pthreadT:-D_REENTRANT}"