Explorar o código

- do not test pthread if threads are not available

Bernhard Reutner-Fischer %!s(int64=18) %!d(string=hai) anos
pai
achega
80e7510b59
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      test/Makefile

+ 3 - 0
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))