summaryrefslogtreecommitdiff
path: root/security/coreconf
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-09-16 20:50:50 +0000
committerwtc%netscape.com <devnull@localhost>2003-09-16 20:50:50 +0000
commitc4acd204a56ed5196c5ee36ef49d2c352ba5bfae (patch)
treed80f2b575240c6f4efb834a3004abc322b3ef22b /security/coreconf
parentc5aebe7795608812151420a42aaf5d91764690fe (diff)
downloadnss-hg-c4acd204a56ed5196c5ee36ef49d2c352ba5bfae.tar.gz
Bugzilla bug 124958: added support for pthreads on OpenBSD. The patch is
contributed by Mats Palmgren <mats.palmgren@bredband.net>. r=wtc.
Diffstat (limited to 'security/coreconf')
-rw-r--r--security/coreconf/OpenBSD.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/coreconf/OpenBSD.mk b/security/coreconf/OpenBSD.mk
index 14fa73489..9c6fb3efc 100644
--- a/security/coreconf/OpenBSD.mk
+++ b/security/coreconf/OpenBSD.mk
@@ -46,6 +46,13 @@ OS_REL_CFLAGS = -Di386
CPU_ARCH = x86
endif
+ifndef CLASSIC_NSPR
+USE_PTHREADS = 1
+DEFINES += -D_THREAD_SAFE -pthread
+OS_LIBS += -pthread
+DSO_LDOPTS += -pthread
+endif
+
DLL_SUFFIX = so.1.0
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DOPENBSD