Browse Source

Fix problem with GNU make 4.X

git-svn-id: branches/fixes_3_0@36398 -
pierre 8 years ago
parent
commit
daee8c2fdd
1 changed files with 5 additions and 1 deletions
  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