aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/t-gthr-win323
-rw-r--r--gcc/config/i386/t-mingw323
3 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a4a2132..7caf088 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-15 Nick Clifton <nickc@redhat.com>
+
+ * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
+ fragment to tmake_file only if threads are enabled.
+ * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
+ * config/i386/t-gthr-win32: New file. ... here.
+
2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c/28649
diff --git a/gcc/config/i386/t-gthr-win32 b/gcc/config/i386/t-gthr-win32
new file mode 100644
index 0000000..204a485
--- /dev/null
+++ b/gcc/config/i386/t-gthr-win32
@@ -0,0 +1,3 @@
+# We hide calls to w32api needed for w32 thread support here:
+LIB2FUNCS_EXTRA = $(srcdir)/config/i386/gthr-win32.c
+
diff --git a/gcc/config/i386/t-mingw32 b/gcc/config/i386/t-mingw32
index 8f77531..6d043a3 100644
--- a/gcc/config/i386/t-mingw32
+++ b/gcc/config/i386/t-mingw32
@@ -1,5 +1,2 @@
-# We hide calls to w32api needed for w32 thread support here:
-LIB2FUNCS_EXTRA = $(srcdir)/config/i386/gthr-win32.c
-
# Match SYSTEM_INCLUDE_DIR
NATIVE_SYSTEM_HEADER_DIR = /mingw/include