Skip to content

Commit

Permalink
Rearrange library linkage order.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30074 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Sep 4, 2006
1 parent 07ac914 commit e4163b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit e4163b4

Please sign in to comment.