Using -pthread instead of -lpthread to appease GCC.
llvm-svn: 237864
This commit is contained in:
parent
012665e16b
commit
36758cf16a
|
|
@ -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 =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue