OSDN Git Service

- do not test pthread if threads are not available
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 11 Jul 2008 16:45:19 +0000 (16:45 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 11 Jul 2008 16:45:19 +0000 (16:45 -0000)
test/Makefile

index 54eeeb6..c9d1524 100644 (file)
@@ -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))