From e3d871e4750ef7715af02375bba7bfb053226d48 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 9 Nov 2011 13:11:47 +0000 Subject: Use t-mingw-pthread on MingW * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ... (i[34567]86-*-mingw*): ... here. (x86_64-*-mingw*): ... here. From-SVN: r181203 --- libgcc/ChangeLog | 6 ++++++ libgcc/config.host | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1f7356b..0e99994 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2011-11-09 Rainer Orth + + * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ... + (i[34567]86-*-mingw*): ... here. + (x86_64-*-mingw*): ... here. + 2011-11-08 Rainer Orth * config/c6x/t-elf (LIB2ADD): Add instead of assigning. diff --git a/libgcc/config.host b/libgcc/config.host index 8af99f5..03f94d9 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -593,11 +593,6 @@ i[34567]86-*-cygwin*) tmake_dlldir_file="i386/t-dlldir-x" fi tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm i386/t-chkstk t-dfprules" - case ${target_thread_file} in - posix) - tmake_file="i386/t-mingw-pthread $tmake_file" - ;; - esac ;; i[34567]86-*-mingw*) extra_parts="crtbegin.o crtend.o crtfastmath.o" @@ -605,6 +600,9 @@ i[34567]86-*-mingw*) win32) tmake_file="$tmake_file i386/t-gthr-win32" ;; + posix) + tmake_file="i386/t-mingw-pthread $tmake_file" + ;; esac # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h if test x$enable_sjlj_exceptions = xyes; then @@ -626,6 +624,9 @@ x86_64-*-mingw*) win32) tmake_file="$tmake_file i386/t-gthr-win32" ;; + posix) + tmake_file="i386/t-mingw-pthread $tmake_file" + ;; esac # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h if test x$enable_sjlj_exceptions = xyes; then -- cgit v1.1