소스 검색

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

git-svn-id: trunk@27270 -
nickysn 11 년 전
부모
커밋
eddab86312
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
               if (target_ar.id=ar_gnu_ar_scripted) then
                 writeln(script, 'CREATE ' + current_module.staticlibfilename)
                 writeln(script, 'CREATE ' + current_module.staticlibfilename)
               else { wlib case }
               else { wlib case }
-                writeln(script,'-q -fo -c '+
+                writeln(script,'-q -fo -c -b '+
                   maybequoted(current_module.staticlibfilename));
                   maybequoted(current_module.staticlibfilename));
               current := TCmdStrListItem(SmartLinkOFiles.First);
               current := TCmdStrListItem(SmartLinkOFiles.First);
               while current <> nil do
               while current <> nil do
@@ -1592,7 +1592,7 @@ Implementation
 
 
       ar_watcom_wlib_omf_info : tarinfo =
       ar_watcom_wlib_omf_info : tarinfo =
           ( id          : ar_watcom_wlib_omf;
           ( id          : ar_watcom_wlib_omf;
-            arcmd       : 'wlib -q -fo -c $LIB $FILES';
+            arcmd       : 'wlib -q -fo -c -b $LIB $FILES';
             arfinishcmd : ''
             arfinishcmd : ''
           );
           );