Use t-mingw-pthread on MingW
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 13:11:47 +0000 (13:11 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 13:11:47 +0000 (13:11 +0000)
* config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
(i[34567]86-*-mingw*): ... here.
(x86_64-*-mingw*): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181203 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/config.host

index 1f7356b..0e99994 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * 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  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
index 8af99f5..03f94d9 100644 (file)
@@ -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