Using -pthread instead of -lpthread to appease GCC.

llvm-svn: 237864
This commit is contained in:
Chaoren Lin 2015-05-21 00:19:15 +00:00
parent 012665e16b
commit 36758cf16a
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ LDFLAGS ?= $(CFLAGS)
LDFLAGS += $(LD_EXTRAS) LDFLAGS += $(LD_EXTRAS)
ifeq (,$(filter $(OS), Windows_NT Android)) ifeq (,$(filter $(OS), Windows_NT Android))
ifneq (,$(filter YES,$(ENABLE_THREADS) $(ENABLE_STD_THREADS))) ifneq (,$(filter YES,$(ENABLE_THREADS) $(ENABLE_STD_THREADS)))
LDFLAGS += -lpthread LDFLAGS += -pthread
endif endif
endif endif
OBJECTS = OBJECTS =