From 705b9e55f2ea484c81b9ea4841d2e3c868a313dd Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Wed, 8 Jun 2005 22:32:51 +0000 Subject: [PATCH] make SparcV8 and V9 seperately configurable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22204 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llc/Makefile | 8 ++++++-- 1 file 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