浏览代码

* 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 }
          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
            will recompile the unit when checking whether the correct wpo file is
            used (if it will recompile the unit anyway, it doesn't matter)
@@ -1071,13 +1077,6 @@ uses
              ppufile.putlongint(getnamedfiletime(wpofeedbackinput));
              ppufile.writeentry(ibwpofile);
            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(linkunitstaticlibs,iblinkunitstaticlibs,true);
          writelinkcontainer(linkunitsharedlibs,iblinkunitsharedlibs,true);