Fix of prefix bio filter (bf_prefix.c): rely on the given length
[openssl.git] / Configurations / 50-masm.conf
index 8dbaa764fd2df91a8ef54f02aa964ee3751369a8..e2b54e345c8bf78264ac8df395e82e03691708a8 100644 (file)
@@ -7,11 +7,16 @@
 # proven to be daunting task. This is experimental target, for
 # production builds stick with [up-to-date version of] nasm.
 
-%targets = (
+my %targets = (
     "VC-WIN64A-masm" => {
-        inherit_from    => [ "VC-WIN64A" ],
+        inherit_from    => [ "VC-WIN64-common", asm("x86_64_asm"),
+                             sub { $disabled{shared} ? () : "x86_64_uplink" } ],
         as              => "ml64",
-        asflags         => "/c /Cp /Cx /Zi",
-        asoutflags      => "/Fo",
+        asflags         => "/nologo /c /Cp /Cx /Zi",
+        asoutflag       => "/Fo",
+        sys_id          => "WIN64A",
+        bn_asm_src      => sub { return undef unless @_;
+                                 my $r=join(" ",@_); $r=~s|asm/x86_64-gcc|bn_asm|; $r; },
+        perlasm_scheme   => "masm",
     },
 );