Browse Source

* pass the -b option to wlib to avoid creating .bak files

git-svn-id: trunk@27270 -
nickysn 11 years ago
parent
commit
eddab86312
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/link.pas

+ 2 - 2
compiler/link.pas

@@ -800,7 +800,7 @@ Implementation
               if (target_ar.id=ar_gnu_ar_scripted) then
                 writeln(script, 'CREATE ' + current_module.staticlibfilename)
               else { wlib case }
-                writeln(script,'-q -fo -c '+
+                writeln(script,'-q -fo -c -b '+
                   maybequoted(current_module.staticlibfilename));
               current := TCmdStrListItem(SmartLinkOFiles.First);
               while current <> nil do
@@ -1592,7 +1592,7 @@ Implementation
 
       ar_watcom_wlib_omf_info : tarinfo =
           ( id          : ar_watcom_wlib_omf;
-            arcmd       : 'wlib -q -fo -c $LIB $FILES';
+            arcmd       : 'wlib -q -fo -c -b $LIB $FILES';
             arfinishcmd : ''
           );