瀏覽代碼

Fix problem with GNU make 4.X

git-svn-id: branches/fixes_3_0@36398 -
pierre 8 年之前
父節點
當前提交
daee8c2fdd
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      tests/utils/gparmake.pp

+ 5 - 1
tests/utils/gparmake.pp

@@ -131,7 +131,11 @@ Function ProcessArgs: longint;
             while not(eof(responsefile)) do
             while not(eof(responsefile)) do
               begin
               begin
                 readln(responsefile,s);
                 readln(responsefile,s);
-                AddFile(s);
+                { Avoid problem with GNU make version 4
+                  which adds lines containing
+                  make[X] Entering/leaving ... }
+                if not (copy(s,1,5)='make[') then
+                  AddFile(s);
               end;
               end;
             close(responsefile);
             close(responsefile);
           end
           end