Patchwork [config.gcc] : Add a missed 64-bit cygwin case

login
register
mail settings
Submitter Kai Tietz
Date Sept. 11, 2013, 11:41 a.m.
Message ID <CAEwic4ZO=7RiBEh3XeXyXGM7t0K-F9W0HJA-OhzaO3JX=Cbc-Q@mail.gmail.com>
Download mbox | patch
Permalink /patch/274261/
State New
Headers show

Comments

Kai Tietz - Sept. 11, 2013, 11:41 a.m.
Hi,

One missing nit in config.gcc to choose proper cpu default and split
cygwin and mingw targets.

ChangeLog

2013-09-11  Kai Tietz  <ktietz@redhat.com>

    * config.gcc: Separate cases for mingw and cygwin targets,
    and add 64-bit cygwin target case.

Tested for x86_64-pc-cygwin, i686-pc-cygwin, i686-w64-mingw32, and for
x86_64-w64-mingw32.  I will apply this patch in a cuple of hours, if
there are no objections.

Regards,
Kai

Patch

Index: config.gcc
===================================================================
--- config.gcc    (Revision 202491)
+++ config.gcc    (Arbeitskopie)
@@ -3858,8 +3858,10 @@  case ${target} in
         ;;
     i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
         ;;
-    i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
+    i[34567]86-*-cygwin* | x86_64-*-cygwin*)
         ;;
+    i[34567]86-*-mingw* | x86_64-*-mingw*)
+        ;;
     i[34567]86-*-freebsd* | x86_64-*-freebsd*)
         ;;
     ia64*-*-linux*)