summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-11 16:45:19 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-11 16:45:19 +0000
commit80e7510b59d85f1c0728bb9ff80e823973e5b54b (patch)
tree40dfbac52ad60e2a11ec9a2653ab5a7ea7c42d07
parenta1dc829ec29e097bb67544697272beb83add9cd3 (diff)
- do not test pthread if threads are not available
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 54eeeb6a3..c9d152477 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -35,6 +35,9 @@ endif
ifeq ($(UCLIBC_HAS_CRYPT_STUB),y)
DIRS := $(filter-out crypt,$(DIRS))
endif
+ifeq ($(HAS_NO_THREADS),y)
+ DIRS := $(filter-out pthread,$(DIRS))
+endif
DIRS := $(filter-out math,$(DIRS))