Remove -xtarget=ultra from solaris(64)-sparcv9-cc builds.
authorAndy Grundman <andyg@activestate.com>
Tue, 30 Aug 2016 21:25:10 +0000 (17:25 -0400)
committerAndy Polyakov <appro@openssl.org>
Tue, 13 Sep 2016 13:30:03 +0000 (15:30 +0200)
This flag got moved after -xarch=v9 in 1.1.0 and had the unexpected
side effect of the compiler building for 32-bit v8plusa instead of v9.

GH#1521
CLA: none; trivial

Signed-off-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit fa4618a2805e7115cf47d0cf0d15cb7b3c944bba)

Configurations/10-main.conf

index 008120beab3dda2b6098887ea6e3d597dac3084a..cde1bdb4381862efdfd1a2cb718abf6ed5853998 100644 (file)
@@ -308,11 +308,11 @@ sub vms_info {
     },
     "solaris-sparcv9-cc" => {
         inherit_from     => [ "solaris-sparcv7-cc", asm("sparcv9_asm") ],
-        cflags           => add_before("-xarch=v8plus -xtarget=ultra"),
+        cflags           => add_before("-xarch=v8plus"),
     },
     "solaris64-sparcv9-cc" => {
         inherit_from     => [ "solaris-sparcv7-cc", asm("sparcv9_asm") ],
-        cflags           => add_before("-xarch=v9 -xtarget=ultra"),
+        cflags           => add_before("-xarch=v9"),
         lflags           => add_before("-xarch=v9"),
         bn_ops           => "BN_LLONG RC4_CHAR",
         shared_ldflag    => "-xarch=v9 -G -dy -z text",