summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-04-08 14:53:54 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-04-08 14:53:54 +0100
commit045b2809f8e904ef520b828198ab5c953ce70f60 (patch)
tree57caaf48aefb84634c93f6ef8854020042226327 /util
parent29d422e2a08714ffd344badf1dd9ea7b64689065 (diff)
Asm build portability.
Don't use Win32 specific options in mk1mf.pl to build assembly language files.
Diffstat (limited to 'util')
-rwxr-xr-xutil/mk1mf.pl8
-rw-r--r--util/pl/unix.pl1
2 files changed, 5 insertions, 4 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index ab806d1d23..2b383e2339 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -1269,15 +1269,15 @@ sub perlasm_compile_target
my($ret);
$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";
if ($fipscanisteronly)
{
- $ret .= "\t\$(PERL) util\\fipsas.pl . \$@ norunasm \$(CFLAG)\n";
+ $ret .= "\t\$(PERL) util$o.pl . \$@ norunasm \$(CFLAG)\n";
}
$ret .= "\n";
- $ret.="$target: \$(TMP_D)$o$bname.asm\n";
- $ret.="\t\$(ASM) $afile\$\@ \$(TMP_D)$o$bname.asm\n\n";
+ $ret.="$target: \$(TMP_D)$o$bname$asm_suffix\n";
+ $ret.="\t\$(ASM) $afile\$\@ \$(TMP_D)$o$bname$asm_suffix\n\n";
return($ret);
}
diff --git a/util/pl/unix.pl b/util/pl/unix.pl
index 1e0902a68a..72d3b441e1 100644
--- a/util/pl/unix.pl
+++ b/util/pl/unix.pl
@@ -26,6 +26,7 @@ else
{ $cflags="-O"; }
}
$obj='.o';
+$asm_suffix='.s';
$ofile='-o ';
# EXE linking stuff