diff options
author | wtc%netscape.com <devnull@localhost> | 1999-03-23 05:50:11 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1999-03-23 05:50:11 +0000 |
commit | 287b26d7f1bbc098225292d26f95301f6d8405dd (patch) | |
tree | 3f87ff9852f1cbfe036c91c85bc963b69f7c55ed | |
parent | 5147f549e32ee34e14c68b0658dd1e7f82d778bb (diff) | |
download | nspr-hg-287b26d7f1bbc098225292d26f95301f6d8405dd.tar.gz |
Merged a patch contributed by jon@eyrie.org (Jonathan Lennox).
-rw-r--r-- | config/FreeBSD.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/FreeBSD.mk b/config/FreeBSD.mk index 7eafaa2c..2e2d27ba 100644 --- a/config/FreeBSD.mk +++ b/config/FreeBSD.mk @@ -33,16 +33,13 @@ CPU_ARCH = x86 endif CPU_ARCH_TAG = _$(CPU_ARCH) -OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK +OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK ifeq ($(USE_PTHREADS),1) IMPL_STRATEGY = _PTH -OS_LIBS = -lc_r -DEFINES += -D_THREAD_SAFE -OS_CFLAGS += -pthread +THREAD_FLAG += -pthread else IMPL_STRATEGY = _EMU -OS_LIBS = -lc DEFINES += -D_PR_LOCAL_THREADS_ONLY endif |