aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Klausner <wiz@gatalith.at>2023-03-13 17:40:54 +0100
committerGitHub <noreply@github.com>2023-03-13 18:40:54 +0200
commit41be0a3b3d76ee4f254dc81b42bd8ed26ee324e7 (patch)
treebf1d7d1f766b447c7c7e6e0e4984ac01a65bb9e4 /Makefile
parent671d5cac15241b495006f56482bf2d6967dca91f (diff)
Add NetBSD support. (#90)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8388c29..1601079 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,10 @@ ifeq ($(UNAME_S),FreeBSD)
CFLAGS += -pthread
CXXFLAGS += -pthread
endif
+ifeq ($(UNAME_S),NetBSD)
+ CFLAGS += -pthread
+ CXXFLAGS += -pthread
+endif
ifeq ($(UNAME_S),Haiku)
CFLAGS += -pthread
CXXFLAGS += -pthread