mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -14,3 +14,5 @@ EXAMPLE_TOOL = 1
|
||||
LLVMLIBS := JIT
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
LIBS += -lpthread
|
||||
|
Reference in New Issue
Block a user