summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index bd099f56..747ddaab 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -31,6 +31,9 @@ FEATURE_REGEXP=1
# Enable RFC 3195 support (REQUIRES LIBLOGGING 0.6.0 or above!)
FEATURE_RFC3195=0
+# Enable multithreading via pthreads (very experimental!)
+FEATURE_PTHREADS=1
+
# Enable debug mode (much slower code)
FEATURE_DEBUG=0
@@ -74,6 +77,10 @@ MANDIR = /usr/share/man
LIBLOGGING_BIN=
.endif
+.if $(FEATURE_PTHREADS) == 1
+ F_PTHREADS=-DUSE_PTHREADS
+.endif
+
.if $(FEATURE_DEBUG) == 0
DBG=-DNDEBUG
.endif