aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-08-15 17:06:18 +0000
committerNick Clifton <nickc@gcc.gnu.org>2006-08-15 17:06:18 +0000
commitb0faa35c0ffce50dce634a21a4997dfd08a74e32 (patch)
treef0600f4e41901be39b0e8ec2c94899dcbde27c4a /gcc
parent2c14ae9a7bf2ee1380fd82d38dbb25a8eb8edebb (diff)
downloadgcc-b0faa35c0ffce50dce634a21a4997dfd08a74e32.zip
gcc-b0faa35c0ffce50dce634a21a4997dfd08a74e32.tar.gz
gcc-b0faa35c0ffce50dce634a21a4997dfd08a74e32.tar.bz2
config.gcc (x86-mingw32): Add a gthr-win32.h including makefile fragment to tmake_file only if...
* 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. From-SVN: r116159
Diffstat (limited to 'gcc')
-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