Do not explicitly link against -lc_r on OpenBSD. Bug #36467 r=wtc NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Wed, 28 Jun 2000 07:41:42 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1446 124ea8273b5238841d915c4d1a9ea1a1f814fd4e
parent 1436 742efe7f40a56faa539356360bc8b389bfd54edb
child 1451 615e0e572e1f9061d5bb4c83b64f471bd11400b2
push idunknown
push userunknown
push dateunknown
reviewerswtc
bugs36467
Do not explicitly link against -lc_r on OpenBSD. Bug #36467 r=wtc
config/OpenBSD.mk
--- a/config/OpenBSD.mk
+++ b/config/OpenBSD.mk
@@ -30,21 +30,19 @@ ifeq (86,$(findstring 86,$(OS_TEST)))
 CPU_ARCH               = x86
 else
 CPU_ARCH               = $(OS_TEST)
 endif
 
 OS_CFLAGS              = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DOPENBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 
 ifeq ($(USE_PTHREADS),1)
-OS_LIBS                        = -lc_r
 THREAD_FLAG		+= -pthread
 # XXX probably should define _THREAD_SAFE too.
 else
-OS_LIBS                        = -lc
 DEFINES                        += -D_PR_LOCAL_THREADS_ONLY
 endif
 
 ARCH                   = openbsd
 
 DLL_SUFFIX             = so.1.0
 
 DSO_CFLAGS             = -fPIC