diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-07-20 17:27:58 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-07-20 17:27:58 +0000 |
commit | 74bda2e320b92c017c1938ab35a18071d22f5127 (patch) | |
tree | 98db7c016784176252c19c691e78812eaa7e5a22 | |
parent | ba20471c751fc279747128d67ac5cb67afab5dcd (diff) |
Fix linking on Alpha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29219 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 6 | ||||
-rw-r--r-- | lib/CodeGen/Makefile | 1 | ||||
-rw-r--r-- | tools/llc/Makefile | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.rules b/Makefile.rules index 47a5f2c41c..bc938d1ab1 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -253,8 +253,8 @@ LibTool.Flags := --tag=CXX #Make Floating point ieee complient on alpha ifeq ($(ARCH),Alpha) - CXX.Flags += -mieee - CPP.BaseFlags += -mieee + CXX.Flags += -mieee -fPIC + CPP.BaseFlags += -mieee -fPIC endif #-------------------------------------------------------------------- @@ -609,7 +609,7 @@ ifeq ($(LLVMLIBS),JIT) Link += -dlopen self # Generic JIT libraries -JIT_LIBS := LLVMInterpreter LLVMJIT LLVMCodeGen LLVMExecutionEngine +JIT_LIBS := LLVMInterpreter LLVMJIT 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 diff --git a/lib/CodeGen/Makefile b/lib/CodeGen/Makefile index e77a53a337..62ef1ad727 100644 --- a/lib/CodeGen/Makefile +++ b/lib/CodeGen/Makefile @@ -10,6 +10,7 @@ LEVEL = ../.. LIBRARYNAME = LLVMCodeGen PARALLEL_DIRS = SelectionDAG +BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common diff --git a/tools/llc/Makefile b/tools/llc/Makefile index 80af5aa9b1..84689cf718 100644 --- a/tools/llc/Makefile +++ b/tools/llc/Makefile @@ -56,7 +56,7 @@ endif USEDLIBS += \ LLVMSelectionDAG \ - LLVMCodeGen \ + LLVMCodeGen.a \ LLVMTarget.a \ LLVMipa.a \ LLVMTransforms.a \ |