[Lldb-commits] [lldb] r237864 - Using -pthread instead of -lpthread to appease GCC.

Chaoren Lin chaorenl at google.com
Wed May 20 17:19:15 PDT 2015


Author: chaoren
Date: Wed May 20 19:19:15 2015
New Revision: 237864

URL: http://llvm.org/viewvc/llvm-project?rev=237864&view=rev
Log:
Using -pthread instead of -lpthread to appease GCC.

Modified:
    lldb/trunk/test/make/Makefile.rules

Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=237864&r1=237863&r2=237864&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Wed May 20 19:19:15 2015
@@ -150,7 +150,7 @@ LDFLAGS ?= $(CFLAGS)
 LDFLAGS += $(LD_EXTRAS)
 ifeq (,$(filter $(OS), Windows_NT Android))
 	ifneq (,$(filter YES,$(ENABLE_THREADS) $(ENABLE_STD_THREADS)))
-		LDFLAGS += -lpthread
+		LDFLAGS += -pthread
 	endif
 endif
 OBJECTS =





More information about the lldb-commits mailing list