diff --git a/libgcc/config.host b/libgcc/config.host --- 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