summaryrefslogtreecommitdiffstats
path: root/util/pl/VC-32.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/pl/VC-32.pl')
-rw-r--r--util/pl/VC-32.pl12
1 files changed, 8 insertions, 4 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index 8082d2ef3c..6db1c9fe23 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -49,10 +49,14 @@ $lfile='/out:';
$shlib_ex_obj="";
$app_ex_obj="setargv.obj";
-
-$asm='ml /Cp /coff /c /Cx';
-$asm.=" /Zi" if $debug;
-$afile='/Fo';
+if ($nasm) {
+ $asm='nasmw -f win32';
+ $afile='-o ';
+} else {
+ $asm='ml /Cp /coff /c /Cx';
+ $asm.=" /Zi" if $debug;
+ $afile='/Fo';
+}
$bn_asm_obj='';
$bn_asm_src='';