32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
diff --git a/config.sub b/config.sub
|
|
index b0e45f3..cbf5907 100755
|
|
--- a/config.sub
|
|
+++ b/config.sub
|
|
@@ -1315,7 +1315,7 @@ case $os in
|
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
| -mingw32* | -linux-gnu* | -linux-android* \
|
|
| -linux-newlib* | -linux-uclibc* \
|
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
|
diff --git a/gcc/config.host b/gcc/config.host
|
|
index 5fded10..c0a9c5d 100644
|
|
--- a/gcc/config.host
|
|
+++ b/gcc/config.host
|
|
@@ -218,6 +218,13 @@ case ${host} in
|
|
host_exeext=.exe
|
|
host_lto_plugin_soname=cyglto_plugin-0.dll
|
|
;;
|
|
+ i[34567]86-*-msys* | x86_64-*-msys*)
|
|
+ host_xm_file=i386/xm-cygwin.h
|
|
+ out_host_hook_obj=host-cygwin.o
|
|
+ host_xmake_file="${host_xmake_file} i386/x-cygwin"
|
|
+ host_exeext=.exe
|
|
+ host_lto_plugin_soname=msys-lto_plugin.dll
|
|
+ ;;
|
|
i[34567]86-*-mingw32*)
|
|
host_xm_file=i386/xm-mingw32.h
|
|
host_xmake_file="${host_xmake_file} i386/x-mingw32"
|