Config: The cflags in vms-alpha and vms-ia64 have to be added
authorRichard Levitte <levitte@openssl.org>
Tue, 29 Mar 2016 20:06:07 +0000 (22:06 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 29 Mar 2016 20:06:07 +0000 (22:06 +0200)
"vms-generic" already has some values, which were discarded.

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

index 45a685fba2471cebb9f575086bea00ec77428f63..11ff13e348f9d4b38543cb1ad5791d6e6ca931f7 100644 (file)
@@ -1740,10 +1740,10 @@ sub vms_info {
     #},
     "vms-alpha" => {
         inherit_from     => [ "vms-generic" ],
-        cflags           => sub { my @warnings =
-                                      @{vms_info()->{disable_warns}};
-                                  @warnings
-                                      ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); },
+        cflags           => add(sub { my @warnings =
+                                          @{vms_info()->{disable_warns}};
+                                      @warnings
+                                          ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }),
         #as               => "???",
         #debug_aflags     => "/NOOPTIMIZE/DEBUG",
         #release_aflags   => "/OPTIMIZE/NODEBUG",
@@ -1773,10 +1773,10 @@ sub vms_info {
     },
     "vms-ia64" => {
         inherit_from     => [ "vms-generic" ],
-        cflags           => sub { my @warnings =
-                                      @{vms_info()->{disable_warns}};
-                                  @warnings
-                                      ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); },
+        cflags           => add(sub { my @warnings =
+                                          @{vms_info()->{disable_warns}};
+                                      @warnings
+                                          ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }),
         #as               => "I4S",
         #debug_aflags     => "/NOOPTIMIZE/DEBUG",
         #release_aflags   => "/OPTIMIZE/NODEBUG",