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
This commit is contained in:
Chris Lattner
2006-07-21 00:10:47 +00:00
parent 6947e55aff
commit 02b04b4d34
5 changed files with 7 additions and 5 deletions

View File

@@ -620,7 +620,7 @@ endif
# What the X86 JIT requires # What the X86 JIT requires
ifdef ENABLE_X86_JIT ifdef ENABLE_X86_JIT
JIT_LIBS += LLVMX86 LLVMSelectionDAG JIT_LIBS += LLVMX86 LLVMSelectionDAG.a
endif endif
# You can enable the PowerPC JIT on a non-PowerPC host by setting the flag # 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 # What the PowerPC JIT requires
ifdef ENABLE_PPC_JIT ifdef ENABLE_PPC_JIT
JIT_LIBS += LLVMPowerPC LLVMSelectionDAG JIT_LIBS += LLVMPowerPC LLVMSelectionDAG.a
endif endif
# You can enable the Alpha JIT on a non-Alpha host by setting the flag # 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 # What the Alpha JIT requires
ifdef ENABLE_ALPHA_JIT ifdef ENABLE_ALPHA_JIT
JIT_LIBS += LLVMAlpha LLVMSelectionDAG JIT_LIBS += LLVMAlpha LLVMSelectionDAG.a
endif endif
LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \ LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \

View File

@@ -9,5 +9,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMSelectionDAG LIBRARYNAME = LLVMSelectionDAG
PARALLEL_DIRS = PARALLEL_DIRS =
BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@@ -11,5 +11,6 @@ LEVEL = ../..
LIBRARYNAME = LLVMDebugger LIBRARYNAME = LLVMDebugger
EXTRA_DIST = README.txt EXTRA_DIST = README.txt
REQUIRES_EH := 1 REQUIRES_EH := 1
BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@@ -55,7 +55,7 @@ USEDLIBS += LLVMARM
endif endif
USEDLIBS += \ USEDLIBS += \
LLVMSelectionDAG \ LLVMSelectionDAG.a \
LLVMCodeGen.a \ LLVMCodeGen.a \
LLVMTarget.a \ LLVMTarget.a \
LLVMipa.a \ LLVMipa.a \

View File

@@ -9,7 +9,7 @@
LEVEL = ../.. LEVEL = ../..
TOOLNAME = llvm-db TOOLNAME = llvm-db
USEDLIBS = LLVMDebugger LLVMBCReader.a LLVMCore.a LLVMSupport.a \ USEDLIBS = LLVMDebugger.a LLVMBCReader.a LLVMCore.a LLVMSupport.a \
LLVMbzip2.a LLVMSystem.a LLVMbzip2.a LLVMSystem.a
REQUIRES_EH := 1 REQUIRES_EH := 1