X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=3f654f02b860c66ccfe501a807c92b7522bf563d;hb=eb0c74ae74ce458dd55b7a7d11c5ba7ae59bf5ed;hp=7c0e7980e5107b3fbeba74897ceddcd5010b232f;hpb=a3c86fc452d1c5e6ec78c6c2617540c34b7d9035;p=fio.git diff --git a/Makefile b/Makefile index 7c0e7980..3f654f02 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,10 @@ ifeq ($(CONFIG_TARGET_OS), FreeBSD) LIBS += -lpthread -lrt LDFLAGS += -rdynamic endif +ifeq ($(CONFIG_TARGET_OS), OpenBSD) + LIBS += -lpthread + LDFLAGS += -rdynamic +endif ifeq ($(CONFIG_TARGET_OS), NetBSD) LIBS += -lpthread -lrt LDFLAGS += -rdynamic @@ -128,7 +132,7 @@ ifneq (,$(findstring CYGWIN,$(CONFIG_TARGET_OS))) SOURCE := $(filter-out engines/mmap.c,$(SOURCE)) SOURCE += os/windows/posix.c LIBS += -lpthread -lpsapi -lws2_32 - CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format + CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static endif OBJS = $(SOURCE:.c=.o)