Do not explicitly link against -lc_r on OpenBSD. Bug #36467 r=wtc NSPRPUB_RELEASE_4_0_BRANCH
authorcls%seawood.org
Wed, 28 Jun 2000 07:42:13 +0000
branchNSPRPUB_RELEASE_4_0_BRANCH
changeset 1447 6d4ac1e848fcc6402367e96cd5d908ef3a91565f
parent 1438 e4191581e60c694cc52c480e49d44cf62157325b
child 1450 3cbe94bb3c710b9f55eacbcbf8ca1ae9cde2d36d
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