summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2006-07-21 19:44:55 +0000
committerDevang Patel <dpatel@apple.com>2006-07-21 19:44:55 +0000
commit2ebc1f82a23349ff6743b7623cd1e67eb661a6a6 (patch)
treef8e56690eed14d001562638290d7600414099275
parent44819cb20ab8e84fc14ea1e6fc69fb797c70a50d (diff)
Fix MacOSX build failures. (pr841)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29246 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules9
-rw-r--r--tools/llc/Makefile2
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 4de9228da6c..911bc36b57d 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -609,7 +609,8 @@ ifeq ($(LLVMLIBS),JIT)
Link += -dlopen self
# Generic JIT libraries
-JIT_LIBS := LLVMInterpreter LLVMJIT LLVMCodeGen.a LLVMExecutionEngine
+JIT_LIBS := LLVMInterpreter LLVMJIT LLVMSelectionDAG.a LLVMCodeGen.a \
+ LLVMExecutionEngine
# You can enable the X86 JIT on a non-X86 host by setting the flag
# ENABLE_X86_JIT on the make command line. If not, it will still be
@@ -620,7 +621,7 @@ endif
# What the X86 JIT requires
ifdef ENABLE_X86_JIT
- JIT_LIBS += LLVMX86 LLVMSelectionDAG.a
+ JIT_LIBS += LLVMX86
endif
# You can enable the PowerPC JIT on a non-PowerPC host by setting the flag
@@ -632,7 +633,7 @@ endif
# What the PowerPC JIT requires
ifdef ENABLE_PPC_JIT
- JIT_LIBS += LLVMPowerPC LLVMSelectionDAG.a
+ JIT_LIBS += LLVMPowerPC
endif
# You can enable the Alpha JIT on a non-Alpha host by setting the flag
@@ -644,7 +645,7 @@ endif
# What the Alpha JIT requires
ifdef ENABLE_ALPHA_JIT
- JIT_LIBS += LLVMAlpha LLVMSelectionDAG.a
+ JIT_LIBS += LLVMAlpha
endif
LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index 7bef4f2751f..d20c307c460 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -55,8 +55,8 @@ USEDLIBS += LLVMARM
endif
USEDLIBS += \
- LLVMSelectionDAG.a \
LLVMCodeGen.a \
+ LLVMSelectionDAG.a \
LLVMTarget.a \
LLVMipa.a \
LLVMTransforms.a \