From: Chris Lattner Date: Mon, 4 Sep 2006 01:02:25 +0000 (+0000) Subject: Rearrange library linkage order. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e4163b4b46ed30eb2a554bf936bf2626c76d07bf;p=oota-llvm.git Rearrange library linkage order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30074 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 457c7f8a27c..b08725a367f 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