Sfoglia il codice sorgente

- do not test pthread if threads are not available

Bernhard Reutner-Fischer 17 anni fa
parent
commit
80e7510b59
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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))