# HG changeset patch # Parent c46bee26ae481e40fea09b4bbdb35731ff6b354c Support parallel make check with GNU make 4.2+ diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in --- a/gdb/testsuite/Makefile.in +++ b/gdb/testsuite/Makefile.in @@ -140,7 +140,7 @@ installcheck: # See whether -j was given to make. Either it was given with no # arguments, and appears as "j" in the first word, or it was given an # argument and appears as "-j" in a separate word. -saw_dash_j = $(or $(findstring j,$(firstword $(MAKEFLAGS))),$(filter -j,$(MAKEFLAGS))) +saw_dash_j = $(or $(findstring j,$(firstword $(MAKEFLAGS))),$(filter -j%,$(MAKEFLAGS))) # Try to run the tests in parallel if any -j option is given. If RUNTESTFLAGS # is not empty, then by default the tests will be serialized. This can be