From daee8c2fdddd51ae4ad74a4f3baaddbc5be9bcca Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 2 Jun 2017 18:56:03 +0000 Subject: [PATCH] Fix problem with GNU make 4.X git-svn-id: branches/fixes_3_0@36398 - --- tests/utils/gparmake.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/utils/gparmake.pp b/tests/utils/gparmake.pp index bb116512cd..b4ce34e3e0 100644 --- a/tests/utils/gparmake.pp +++ b/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