LLVMC can be now compiled w/o dynamic plugin support.
[oota-llvm.git] / lib / CompilerDriver / Makefile
index 6084e885184b9e5db9900ee499425ce7ce32fd4d..a5ecfd5d324ea60e82c4718b6cd2284364062c47 100644 (file)
@@ -25,6 +25,10 @@ REQUIRES_EH := 1
 
 include $(LEVEL)/Makefile.common
 
+ifeq ($(ENABLE_LLVMC_DYNAMIC_PLUGINS), 1)
+    CPP.Flags += -DENABLE_LLVMC_DYNAMIC_PLUGINS
+endif
+
 # Copy libCompilerDriver to the bin dir so that llvmc can find it.
 ifeq ($(ENABLE_LLVMC_DYNAMIC),1)