Просмотр исходного кода

- do not test pthread if threads are not available

Bernhard Reutner-Fischer 18 лет назад
Родитель
Сommit
80e7510b59
1 измененных файлов с 3 добавлено и 0 удалено
  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))