From b0faa35c0ffce50dce634a21a4997dfd08a74e32 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Aug 2006 17:06:18 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/t-gthr-win32 | 3 +++ gcc/config/i386/t-mingw32 | 3 --- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 gcc/config/i386/t-gthr-win32 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4a21322932..7caf0883f3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2006-08-15 Nick Clifton + + * 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 PR c/28649 diff --git a/gcc/config/i386/t-gthr-win32 b/gcc/config/i386/t-gthr-win32 new file mode 100644 index 00000000000..204a485bcd1 --- /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 8f775314151..6d043a37f6a 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 -- 2.30.2