aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 01:02:25 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 01:02:25 +0000
commite4163b4b46ed30eb2a554bf936bf2626c76d07bf (patch)
treeb00596ae5961aa4bfda2b849993488630d237310
parent07ac914973ebb484dd7ed1ad143934e14ad56e26 (diff)
Rearrange library linkage order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30074 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 457c7f8a27..b08725a367 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -641,8 +641,7 @@ ifeq ($(LLVMLIBS),JIT)
Link += -dlopen self
# Generic JIT libraries
-JIT_LIBS := LLVMInterpreter LLVMJIT LLVMSelectionDAG.a LLVMCodeGen.a \
- LLVMExecutionEngine
+JIT_LIBS := LLVMInterpreter LLVMJIT
# 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
@@ -680,8 +679,10 @@ ifdef ENABLE_ALPHA_JIT
JIT_LIBS += LLVMAlpha
endif
+JIT_LIBS += LLVMTarget.a LLVMSelectionDAG.a LLVMCodeGen.a LLVMExecutionEngine
+
LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \
- LLVMBCReader.a LLVMTarget.a LLVMCore.a LLVMSupport.a LLVMbzip2.a \
+ LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a \
LLVMSystem.a $(PLATFORMLIBDL)
endif