diff --git a/llvm/examples/Makefile b/llvm/examples/Makefile index 488d5895a89a..fc3a7d4ea3ff 100644 --- a/llvm/examples/Makefile +++ b/llvm/examples/Makefile @@ -10,11 +10,14 @@ LEVEL=.. include $(LEVEL)/Makefile.config -PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \ - ExceptionDemo +PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker ifeq ($(HAVE_PTHREAD),1) PARALLEL_DIRS += ParallelJIT endif +ifeq ($(LLVM_ON_UNIX),1) +PARALLEL_DIRS += ExceptionDemo +endif + include $(LEVEL)/Makefile.common