Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bugzilla bug 124958: added support for pthreads on OpenBSD. The patch is
contributed by Mats Palmgren <mats.palmgren@bredband.net>. r=wtc.
  • Loading branch information
wtc%netscape.com committed Sep 16, 2003
1 parent 5be4eeb commit 8a9fae6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions security/coreconf/OpenBSD.mk
Expand Up @@ -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
Expand Down

0 comments on commit 8a9fae6

Please sign in to comment.