Browse Source

Fix problem with GNU make 4.X

git-svn-id: branches/fixes_3_0@36398 -
pierre 8 năm trước cách đây
mục cha
commit
daee8c2fdd
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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
               begin
                 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;
             close(responsefile);
           end