aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@kevlo.org>2023-03-21 09:50:09 -0600
committerGitHub <noreply@github.com>2023-03-21 17:50:09 +0200
commit715d292ee0e34d27f27af43d7feaad1f1344981d (patch)
tree3a652a866b16c3cef07ec3ead3c8a55b9626d8b6 /Makefile
parentc98ae02668a25916954b1653e25a5a35ca048d63 (diff)
Add OpenBSD support (#314)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4becf6e..4b923e5 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,10 @@ ifeq ($(UNAME_S),NetBSD)
CFLAGS += -pthread
CXXFLAGS += -pthread
endif
+ifeq ($(UNAME_S),OpenBSD)
+ CFLAGS += -pthread
+ CXXFLAGS += -pthread
+endif
ifeq ($(UNAME_S),Haiku)
CFLAGS += -pthread
CXXFLAGS += -pthread