From 0a262ba7c3250ef02833fae864459ccc905a2e9b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 24 Aug 2005 10:07:20 +0000 Subject: For PR616: These patches make threading optional in LLVM. The configuration scripts are now modified to accept a --disable-threads switch. If this is used, the Mutex class will be implemented with all functions as no-op. Furthermore, linking against libpthread will not be done. Finally, the ParallelJIT example needs libpthread so its makefile was changed to always add -lpthread to the link line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23003 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/ParallelJIT/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/ParallelJIT') diff --git a/examples/ParallelJIT/Makefile b/examples/ParallelJIT/Makefile index 4d92675a5c..cb014a0082 100644 --- a/examples/ParallelJIT/Makefile +++ b/examples/ParallelJIT/Makefile @@ -14,3 +14,5 @@ EXAMPLE_TOOL = 1 LLVMLIBS := JIT include $(LEVEL)/Makefile.common + +LIBS += -lpthread -- cgit v1.2.3