mirror of
https://github.com/openssl/openssl.git
synced 2025-01-20 00:44:11 +08:00
Asm build portability.
Don't use Win32 specific options in mk1mf.pl to build assembly language files.
This commit is contained in:
parent
29d422e2a0
commit
045b2809f8
@ -1269,15 +1269,15 @@ sub perlasm_compile_target
|
|||||||
|
|
||||||
my($ret);
|
my($ret);
|
||||||
$bname =~ s/(.*)\.[^\.]$/$1/;
|
$bname =~ s/(.*)\.[^\.]$/$1/;
|
||||||
$ret ="\$(TMP_D)$o$bname.asm: $source\n";
|
$ret ="\$(TMP_D)$o$bname$asm_suffix: $source\n";
|
||||||
$ret.="\t\$(PERL) $source $asmtype \$(CFLAG) >\$\@\n";
|
$ret.="\t\$(PERL) $source $asmtype \$(CFLAG) >\$\@\n";
|
||||||
if ($fipscanisteronly)
|
if ($fipscanisteronly)
|
||||||
{
|
{
|
||||||
$ret .= "\t\$(PERL) util\\fipsas.pl . \$@ norunasm \$(CFLAG)\n";
|
$ret .= "\t\$(PERL) util$o.pl . \$@ norunasm \$(CFLAG)\n";
|
||||||
}
|
}
|
||||||
$ret .= "\n";
|
$ret .= "\n";
|
||||||
$ret.="$target: \$(TMP_D)$o$bname.asm\n";
|
$ret.="$target: \$(TMP_D)$o$bname$asm_suffix\n";
|
||||||
$ret.="\t\$(ASM) $afile\$\@ \$(TMP_D)$o$bname.asm\n\n";
|
$ret.="\t\$(ASM) $afile\$\@ \$(TMP_D)$o$bname$asm_suffix\n\n";
|
||||||
return($ret);
|
return($ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ else
|
|||||||
{ $cflags="-O"; }
|
{ $cflags="-O"; }
|
||||||
}
|
}
|
||||||
$obj='.o';
|
$obj='.o';
|
||||||
|
$asm_suffix='.s';
|
||||||
$ofile='-o ';
|
$ofile='-o ';
|
||||||
|
|
||||||
# EXE linking stuff
|
# EXE linking stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user