From: Florian Weimer Date: Mon, 10 Feb 2020 10:28:31 +0000 (+0100) Subject: nptl: Use .NOTPARALLEL in Makefile only if actually running tests X-Git-Tag: glibc-2.32~604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e56088050291160afcda0f85efc94d92792f84d;p=thirdparty%2Fglibc.git nptl: Use .NOTPARALLEL in Makefile only if actually running tests It is safe to build the tests in parallel. Reviewed-by: Adhemerval Zanella --- diff --git a/nptl/Makefile b/nptl/Makefile index 2911a3de37d..e4250fd5222 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -693,7 +693,9 @@ tst-audit-threads-ENV = LD_AUDIT=$(objpfx)tst-audit-threads-mod1.so CFLAGS-tst-unwind-thread.c += -funwind-tables -# The tests here better do not run in parallel +# The tests here better do not run in parallel. +ifeq ($(run-built-tests),yes) ifneq ($(filter %tests,$(MAKECMDGOALS)),) .NOTPARALLEL: endif +endif