aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CompilerDriver/Makefile
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-07-04 03:55:25 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-07-04 03:55:25 +0000
commitcc4f8bcedc44920ce0a50619f4f667b28b40dffa (patch)
tree4ed15ba805f64fc1c6a5d74101547bb044088c08 /lib/CompilerDriver/Makefile
parent86a3510a68928885412a00e1698ab0297dcaf199 (diff)
downloadexternal_llvm-cc4f8bcedc44920ce0a50619f4f667b28b40dffa.zip
external_llvm-cc4f8bcedc44920ce0a50619f4f667b28b40dffa.tar.gz
external_llvm-cc4f8bcedc44920ce0a50619f4f667b28b40dffa.tar.bz2
LLVMC can be now compiled w/o dynamic plugin support.
Controlled via the --enable-llvmc-dynamic-plugins option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver/Makefile')
-rw-r--r--lib/CompilerDriver/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CompilerDriver/Makefile b/lib/CompilerDriver/Makefile
index 6084e88..a5ecfd5 100644
--- a/lib/CompilerDriver/Makefile
+++ b/lib/CompilerDriver/Makefile
@@ -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)