2 Commits

Author SHA1 Message Date
nelisd 75edfb4b60 Merge 48b07ecd2d into 65228e5c79 2023-04-13 09:12:16 +00:00
nelisd 48b07ecd2d Update GNUmakefile
when building from scrach in OpenBSD use threads instead of fork because of missing pthread_mutexattr_setpshared
2023-04-13 13:11:59 +04:00
+2 -1
View File
@@ -70,7 +70,7 @@ VERBOSE ?= NO
################################################################################
CC ?= gcc
TARGETPLATFORM := $(shell LANG=en_US.UTF-8 LANGUAGE=en_US $(CC) -v 2>&1 | grep '^Target: ' | cut -f 2 -d ' ')
TARGETPLATFORM := $(shell LANG=en_US.UTF-8 $(CC) -v 2>&1 | grep '^Target: ' | cut -f 2 -d ' ')
ifneq (,$(findstring darwin,$(TARGETPLATFORM)))
DARWIN := 1
@@ -126,6 +126,7 @@ ifneq (,$(findstring openbsd,$(TARGETPLATFORM)))
UNIX := 1
BSD := 1
ELF := 1
THREADS := 1
endif
ifneq (,$(findstring solaris,$(TARGETPLATFORM)))