VMS build: in descrip.mms.tmpl's src2obj, do .S -> .asm too
authorRichard Levitte <levitte@openssl.org>
Sat, 24 Nov 2018 23:52:24 +0000 (00:52 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 27 Nov 2018 02:42:35 +0000 (02:42 +0000)
We only convert lowercase .s to .asm, that turned out not to be sufficient.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7703)

Configurations/descrip.mms.tmpl

index d06c6996fac87e373ad79906b3c8b047462ae8ba..e641ae105d3a68e878240e983f162a474bcc2aef 100644 (file)
@@ -847,7 +847,7 @@ EOF
 
   sub src2obj {
       my %args = @_;
-      my @srcs = map { (my $x = $_) =~ s/\.s$/.asm/; $x
+      my @srcs = map { (my $x = $_) =~ s/\.[sS]$/.asm/; $x
                      } ( @{$args{srcs}} );
       (my $obj = $args{obj}) =~ s|\.o$||;
       my $deps = join(", -\n\t\t", @srcs, @{$args{deps}});