We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f677f4f commit 806073cCopy full SHA for 806073c
utest/Makefile
@@ -44,10 +44,14 @@ endif
44
#this does not work with OpenMP nor with native Windows or Android threads
45
# FIXME TBD if this works on OSX, SunOS, POWER and zarch
46
ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT))
47
-ifneq ($(USE_OPENMP), 1)
48
-OBJS += test_fork.o
+ifeq ($(USE_OPENMP), 1)
+ifeq ($(HAVE_OMP_PAUSE_RESOURCE_ALL), 1)
49
+ OBJS += test_fork.o
50
endif
-OBJS += test_post_fork.o
51
+else
52
53
+endif
54
+ OBJS += test_post_fork.o
55
56
57
ifeq ($(C_COMPILER), PGI)
0 commit comments