Use -pthread on OpenBSD as well, and add it to CFLAGS in addition to LDFLAGS.

This commit is contained in:
Josh Elsasser 2006-07-04 18:02:45 +00:00
parent 7612153c8b
commit f4e0c4629c
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ endif
endif
ifeq ($(PTHREAD),yes)
ifeq ($(SYSTEM),FreeBSD)
ifneq ($(filter FreeBSD OpenBSD,$(SYSTEM)),)
TMPCFLAGS += -pthread
TMPLDFLAGS += -pthread
else
TMPLDFLAGS += -lpthread