From 8a9fae6c1c0692ab758b50ec1ac6afebcb882ce3 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Tue, 16 Sep 2003 20:50:50 +0000 Subject: [PATCH] Bugzilla bug 124958: added support for pthreads on OpenBSD. The patch is contributed by Mats Palmgren . r=wtc. --- security/coreconf/OpenBSD.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/security/coreconf/OpenBSD.mk b/security/coreconf/OpenBSD.mk index 14fa73489c..9c6fb3efc1 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