summaryrefslogtreecommitdiff
path: root/tools/llc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/Makefile')
-rw-r--r--tools/llc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index 1e503670064..82d6b991d22 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -29,16 +29,20 @@ USEDLIB += LLVMSkeleton
endif
# Check for Sparc target
-ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
+ifneq ($(strip $(filter SparcV9,$(TARGETS_TO_BUILD))),)
USEDLIBS += \
LLVMSparcV9ModuloSched \
- LLVMSparcV8 \
LLVMSparcV9 \
LLVMSparcV9RegAlloc \
LLVMSparcV9InstrSched \
LLVMSparcV9LiveVar
endif
+ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
+USEDLIBS += LLVMSparcV8
+endif
+
+
#Check for X86 Target
ifneq ($(strip $(filter X86,$(TARGETS_TO_BUILD))),)
USEDLIBS += LLVMX86