Rearrange library linkage order.
authorChris Lattner <sabre@nondot.org>
Mon, 4 Sep 2006 01:02:25 +0000 (01:02 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Sep 2006 01:02:25 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30074 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 457c7f8a27cf08258d0c4462515bd04fd8b4fddc..b08725a367fb382b507258338fbd67d08c942108 100644 (file)
@@ -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