]> git.ipfire.org Git - thirdparty/openssl.git/blame - Configurations/50-masm.conf
Configure: add mechanism to specify uplink target architecture
[thirdparty/openssl.git] / Configurations / 50-masm.conf
CommitLineData
38c5674d
AP
1# We can't make commitment to supporting Microsoft assembler,
2# because it would mean supporting all masm versions. This in
3# in turn is because masm is not really an interchangeable option,
4# while users tend to have reasons to stick with specific Visual
5# Studio versions. It's usually lesser hassle to make it work
6# with latest assembler, but tweaking for older versions had
7# proven to be daunting task. This is experimental target, for
8# production builds stick with [up-to-date version of] nasm.
9
3b6c4b07 10my %targets = (
38c5674d 11 "VC-WIN64A-masm" => {
fe9aa764
AP
12 inherit_from => [ "VC-WIN64-common", asm("x86_64_asm"),
13 sub { $disabled{shared} ? () : "x86_64_uplink" } ],
abe256e7
RL
14 AS => "ml64",
15 ASFLAGS => "/nologo /Zi",
3acfc40a 16 asoutflag => "/Fo",
abe256e7 17 asflags => "/c /Cp /Cx",
fe9aa764
AP
18 sys_id => "WIN64A",
19 bn_asm_src => sub { return undef unless @_;
20 my $r=join(" ",@_); $r=~s|asm/x86_64-gcc|bn_asm|; $r; },
b19fe714 21 uplink_arch => 'x86_64',
fe9aa764 22 perlasm_scheme => "masm",
38c5674d
AP
23 },
24);