Browse Source

- do not test pthread if threads are not available

Bernhard Reutner-Fischer 17 years ago
parent
commit
80e7510b59
1 changed files with 3 additions and 0 deletions
  1. 3 0
      test/Makefile

+ 3 - 0
test/Makefile

@@ -35,6 +35,9 @@ endif
 ifeq ($(UCLIBC_HAS_CRYPT_STUB),y)
 ifeq ($(UCLIBC_HAS_CRYPT_STUB),y)
 	DIRS := $(filter-out crypt,$(DIRS))
 	DIRS := $(filter-out crypt,$(DIRS))
 endif
 endif
+ifeq ($(HAS_NO_THREADS),y)
+	DIRS := $(filter-out pthread,$(DIRS))
+endif
 DIRS := $(filter-out math,$(DIRS))
 DIRS := $(filter-out math,$(DIRS))