diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-21 00:10:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-21 00:10:47 +0000 |
commit | 02b04b4d347b537becdf8453c511bf058fa4389a (patch) | |
tree | 04e0bf379e34c6f1d7e70032ed1cebb09f8cbf53 | |
parent | 6947e55aff7086d3ad654d4fa1ea9f51f4983424 (diff) | |
download | llvm-02b04b4d347b537becdf8453c511bf058fa4389a.tar.gz llvm-02b04b4d347b537becdf8453c511bf058fa4389a.tar.bz2 llvm-02b04b4d347b537becdf8453c511bf058fa4389a.tar.xz |
Build more debugger/selectiondag libraries as archives instead of .o files.
This works around bugs in some versions of the cygwin linker.
Patch contributed by Anton Korobeynikov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29239 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 6 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/Makefile | 1 | ||||
-rw-r--r-- | lib/Debugger/Makefile | 1 | ||||
-rw-r--r-- | tools/llc/Makefile | 2 | ||||
-rw-r--r-- | tools/llvm-db/Makefile | 2 |
5 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.rules b/Makefile.rules index bc938d1ab1..4de9228da6 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -620,7 +620,7 @@ endif # What the X86 JIT requires ifdef ENABLE_X86_JIT - JIT_LIBS += LLVMX86 LLVMSelectionDAG + JIT_LIBS += LLVMX86 LLVMSelectionDAG.a endif # You can enable the PowerPC JIT on a non-PowerPC host by setting the flag @@ -632,7 +632,7 @@ endif # What the PowerPC JIT requires ifdef ENABLE_PPC_JIT - JIT_LIBS += LLVMPowerPC LLVMSelectionDAG + JIT_LIBS += LLVMPowerPC LLVMSelectionDAG.a endif # You can enable the Alpha JIT on a non-Alpha host by setting the flag @@ -644,7 +644,7 @@ endif # What the Alpha JIT requires ifdef ENABLE_ALPHA_JIT - JIT_LIBS += LLVMAlpha LLVMSelectionDAG + JIT_LIBS += LLVMAlpha LLVMSelectionDAG.a endif LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \ diff --git a/lib/CodeGen/SelectionDAG/Makefile b/lib/CodeGen/SelectionDAG/Makefile index 73d9edb990..306a6caad5 100644 --- a/lib/CodeGen/SelectionDAG/Makefile +++ b/lib/CodeGen/SelectionDAG/Makefile @@ -9,5 +9,6 @@ LEVEL = ../../.. LIBRARYNAME = LLVMSelectionDAG PARALLEL_DIRS = +BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common diff --git a/lib/Debugger/Makefile b/lib/Debugger/Makefile index 70ee46edef..c322064838 100644 --- a/lib/Debugger/Makefile +++ b/lib/Debugger/Makefile @@ -11,5 +11,6 @@ LEVEL = ../.. LIBRARYNAME = LLVMDebugger EXTRA_DIST = README.txt REQUIRES_EH := 1 +BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common diff --git a/tools/llc/Makefile b/tools/llc/Makefile index 84689cf718..7bef4f2751 100644 --- a/tools/llc/Makefile +++ b/tools/llc/Makefile @@ -55,7 +55,7 @@ USEDLIBS += LLVMARM endif USEDLIBS += \ - LLVMSelectionDAG \ + LLVMSelectionDAG.a \ LLVMCodeGen.a \ LLVMTarget.a \ LLVMipa.a \ diff --git a/tools/llvm-db/Makefile b/tools/llvm-db/Makefile index e7bc95fa5d..3bf9d54afd 100644 --- a/tools/llvm-db/Makefile +++ b/tools/llvm-db/Makefile @@ -9,7 +9,7 @@ LEVEL = ../.. TOOLNAME = llvm-db -USEDLIBS = LLVMDebugger LLVMBCReader.a LLVMCore.a LLVMSupport.a \ +USEDLIBS = LLVMDebugger.a LLVMBCReader.a LLVMCore.a LLVMSupport.a \ LLVMbzip2.a LLVMSystem.a REQUIRES_EH := 1 |