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 <richard@levitte.org>
Tue, 27 Nov 2018 03:12:10 +0000 (03:12 +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)

(cherry picked from commit c739e676ebc6e7f66aabee1ac3d2040b3103a890)

Configurations/descrip.mms.tmpl

index 40876bdf88aa2b273ecaec89c0f7c775e61b16b5..dfea89de64232d794f1fde40c964a06cfd9afb6e 100644 (file)
@@ -820,7 +820,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}});