diff options
Diffstat (limited to 'tools/llvmc/driver/Makefile')
-rw-r--r-- | tools/llvmc/driver/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/llvmc/driver/Makefile b/tools/llvmc/driver/Makefile index 107f0de..0e32726 100644 --- a/tools/llvmc/driver/Makefile +++ b/tools/llvmc/driver/Makefile @@ -8,12 +8,15 @@ ##===----------------------------------------------------------------------===## LEVEL = ../../.. -TOOLNAME = $(DRIVER_NAME) -LINK_COMPONENTS = support system -REQUIRES_EH := 1 -ifneq ($(BUILTIN_PLUGINS),) -USEDLIBS = $(patsubst %,plugin_llvmc_%,$(BUILTIN_PLUGINS)) +TOOLNAME = $(LLVMC_BASED_DRIVER_NAME) +USEDLIBS = CompilerDriver + +ifneq ($(LLVMC_BUILTIN_PLUGINS),) +USEDLIBS += $(patsubst %,plugin_llvmc_%,$(LLVMC_BUILTIN_PLUGINS)) endif +LINK_COMPONENTS = support system +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common |