about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nptl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 2911a3de37..e4250fd522 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