Added USE_PTHREADS for the pthreads build. Deleted obsolete
macro define -D_PR_NTHREAD. git-svn-id: svn://10.0.0.236/trunk@12341 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f143a20647
commit
ed92e6c79c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user