1Masquerade as Linux to enable certain build options. 2Always use pthread even if feature detection is disabled. 3 4--- GNUmakefile.orig 2022-08-07 19:52:03 UTC 5+++ GNUmakefile 6@@ -70,7 +70,7 @@ endif 7 SYSTEMX := $(shell uname -s 2>/dev/null) 8 endif 9 10-IS_LINUX := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "Linux") 11+IS_LINUX := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c -E "Linux|FreeBSD") 12 IS_HURD := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c -E "GNU|Hurd") 13 IS_MINGW := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "MinGW") 14 IS_CYGWIN := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "Cygwin") 15@@ -848,7 +848,7 @@ endif 16 17 # Use -pthread whenever it is available. See http://www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf 18 # http://stackoverflow.com/questions/2127797/gcc-significance-of-pthread-flag-when-compiling 19-ifeq ($(DETECT_FEATURES),1) 20+ifeq (1,1) 21 ifeq ($(XLC_COMPILER),1) 22 ifeq ($(findstring -qthreaded,$(CXXFLAGS)),) 23 TPROG = TestPrograms/test_pthreads.cpp 24