Explorar o código

allow to disable threads and dynamic linking support tests

Waldemar Brodkorb %!s(int64=9) %!d(string=hai) anos
pai
achega
264f959bb6
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      test/Makefile

+ 10 - 0
test/Makefile

@@ -9,6 +9,16 @@ ALL_SUBDIRS := $(patsubst %/Makefile,%,$(wildcard */Makefile))
 
 DIRS := $(ALL_SUBDIRS)
 
+ifeq ($(NO_THREADS),1)
+DIRS := $(filter-out nptl,$(DIRS))
+DIRS := $(filter-out pthread,$(DIRS))
+DIRS := $(filter-out tls,$(DIRS))
+endif
+
+ifeq ($(NO_DL),1)
+DIRS := $(filter-out dlopen,$(DIRS))
+endif
+
 ifeq ($(NO_LOCALE),1)
 DIRS := $(filter-out locale,$(DIRS))
 endif