ソースを参照

* don't let the used wpo feedback file influence the interface crc (there's
a separate check for such changes)

git-svn-id: branches/wpo@12310 -

Jonas Maebe 17 年 前
コミット
2b28bf9b3b
1 ファイル変更6 行追加7 行削除
  1. 6 7
      compiler/fppu.pas

+ 6 - 7
compiler/fppu.pas

@@ -1061,6 +1061,12 @@ uses
          { write interface uses }
          { write interface uses }
          writeusedunit(true);
          writeusedunit(true);
 
 
+         { write the objectfiles and libraries that come for this unit,
+           preserve the containers becuase they are still needed to load
+           the link.res.
+            All doesn't depend on the crc! It doesn't matter
+           if a unit is in a .o or .a file }
+         ppufile.do_crc:=false;
          { write after source files, so that we know whether or not the compiler
          { write after source files, so that we know whether or not the compiler
            will recompile the unit when checking whether the correct wpo file is
            will recompile the unit when checking whether the correct wpo file is
            used (if it will recompile the unit anyway, it doesn't matter)
            used (if it will recompile the unit anyway, it doesn't matter)
@@ -1071,13 +1077,6 @@ uses
              ppufile.putlongint(getnamedfiletime(wpofeedbackinput));
              ppufile.putlongint(getnamedfiletime(wpofeedbackinput));
              ppufile.writeentry(ibwpofile);
              ppufile.writeentry(ibwpofile);
            end;
            end;
-
-         { write the objectfiles and libraries that come for this unit,
-           preserve the containers becuase they are still needed to load
-           the link.res.
-            All doesn't depend on the crc! It doesn't matter
-           if a unit is in a .o or .a file }
-         ppufile.do_crc:=false;
          writelinkcontainer(linkunitofiles,iblinkunitofiles,true);
          writelinkcontainer(linkunitofiles,iblinkunitofiles,true);
          writelinkcontainer(linkunitstaticlibs,iblinkunitstaticlibs,true);
          writelinkcontainer(linkunitstaticlibs,iblinkunitstaticlibs,true);
          writelinkcontainer(linkunitsharedlibs,iblinkunitsharedlibs,true);
          writelinkcontainer(linkunitsharedlibs,iblinkunitsharedlibs,true);