Add some extra Cygwin targets as aliases for Cygwin-x86
authorRichard Levitte <levitte@openssl.org>
Sun, 17 Jan 2016 17:03:04 +0000 (18:03 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Jan 2016 15:16:00 +0000 (16:16 +0100)
Cygwin was used for x86 before, so let's keep it around for those who
still use it (it make Configure reconf possible).
Cygwin-i[3456]86 for those that might generate and pass a target name
directly to Configure.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/10-main.conf

index 479bc587fa8a6eb08c88422e93b77f33381d0c03..06911acac13fc5d37c90dec1783b9954ccf696c0 100644 (file)
         shared_ldflag    => "-shared",
         shared_extension => ".dll.a",
     },
         shared_ldflag    => "-shared",
         shared_extension => ".dll.a",
     },
+    # Backward compatibility for those using this target
+    "Cygwin" => {
+       inherit_from     => [ "Cygwin-x86" ]
+    },
+    # In case someone constructs the Cygwin target name themself
+    "Cygwin-i386" => {
+       inherit_from     => [ "Cygwin-x86" ]
+    },
+    "Cygwin-i486" => {
+       inherit_from     => [ "Cygwin-x86" ]
+    },
+    "Cygwin-i586" => {
+       inherit_from     => [ "Cygwin-x86" ]
+    },
+    "Cygwin-i686" => {
+       inherit_from     => [ "Cygwin-x86" ]
+    },
 
 #### NetWare from David Ward (dsward@novell.com)
 # requires either MetroWerks NLM development tools, or gcc / nlmconv
 
 #### NetWare from David Ward (dsward@novell.com)
 # requires either MetroWerks NLM development tools, or gcc / nlmconv