зеркало из https://github.com/mozilla/pjs.git
Added USE_PTHREADS for the pthreads build. Deleted obsolete
macro define -D_PR_NTHREAD.
This commit is contained in:
Родитель
720603c4f7
Коммит
a7c4272a66
|
@ -155,13 +155,19 @@ endif
|
|||
|
||||
ifeq ($(FORCE_SW_THREADS),1)
|
||||
USE_KERNEL_THREADS = 0
|
||||
USE_PTHREADS = 0
|
||||
endif
|
||||
|
||||
ifeq ($(USE_KERNEL_THREADS),1)
|
||||
PORT_FLAGS += -D_PR_NTHREAD -D_REENTRANT
|
||||
PORT_FLAGS += -D_REENTRANT
|
||||
THREAD_LIB = -lthread
|
||||
endif
|
||||
|
||||
ifeq ($(USE_PTHREADS),1)
|
||||
PORT_FLAGS += -D_REENTRANT
|
||||
THREAD_LIB = -lpthread
|
||||
endif
|
||||
|
||||
#
|
||||
# An nm command which generates an output like:
|
||||
# archive.a:object.o: 0000003 T symbol
|
||||
|
|
Загрузка…
Ссылка в новой задаче