瀏覽代碼

* minor fix

marco 22 年之前
父節點
當前提交
0ece242d9d
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. 8 6
      compiler/systems/t_nwm.pas

+ 8 - 6
compiler/systems/t_nwm.pas

@@ -270,11 +270,10 @@ begin
   with Info do
    begin
      ExeCmd[1]:= 'ld -Ur -T $RES $STRIP -o $TMPOBJ';
-     {$ifdef win32}
-     ExeCmd[2]:='nlmconv -m i386nw -T$RES';
-     {$else}
-     ExeCmd[2]:='nlmconv -T$RES';
-     {$endif}
+     if source_info.system<>target_info.system Then
+      ExeCmd[2]:='nlmconv -m i386nw -T$RES'
+     else
+      ExeCmd[2]:='nlmconv -T$RES';
    end;
 end;
 
@@ -548,7 +547,10 @@ initialization
 end.
 {
   $Log$
-  Revision 1.8  2003-04-27 07:29:52  peter
+  Revision 1.9  2003-11-11 16:46:40  marco
+   * minor fix
+
+  Revision 1.8  2003/04/27 07:29:52  peter
     * aktprocdef cleanup, aktprocdef is now always nil when parsing
       a new procdef declaration
     * aktprocsym removed