summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-01 00:37:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-01 00:37:14 +0000
commit1000b73397bd72b71ede338caf5b6379072d94a4 (patch)
tree5dda0d342d7e1d3011f7ad7c76c07e4a93a1681c /examples
parent481169e7011b39708154713fe595e8d059c1586f (diff)
downloadllvm-1000b73397bd72b71ede338caf5b6379072d94a4.tar.gz
llvm-1000b73397bd72b71ede338caf5b6379072d94a4.tar.bz2
llvm-1000b73397bd72b71ede338caf5b6379072d94a4.tar.xz
For PR1019:
Add HAVE_PTHREAD to makefiles with support from configure and use it to determine whether to build examples/ParallelJIT. Patch by Anton Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index a6530ee6f5..873c5825ab 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -12,7 +12,7 @@ include $(LEVEL)/Makefile.config
PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
-ifeq ($(ENABLE_THREADS),1)
+ifeq ($(HAVE_PTHREAD),1)
PARALLEL_DIRS += ParallelJIT
endif