Skip to content

Commit

Permalink
Build more debugger/selectiondag libraries as archives instead of .o …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
lattner committed Jul 21, 2006
1 parent 6947e55 commit 02b04b4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions lib/CodeGen/SelectionDAG/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
LEVEL = ../../..
LIBRARYNAME = LLVMSelectionDAG
PARALLEL_DIRS =
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
1 change: 1 addition & 0 deletions lib/Debugger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ LEVEL = ../..
LIBRARYNAME = LLVMDebugger
EXTRA_DIST = README.txt
REQUIRES_EH := 1
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion tools/llc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ USEDLIBS += LLVMARM
endif

USEDLIBS += \
LLVMSelectionDAG \
LLVMSelectionDAG.a \
LLVMCodeGen.a \
LLVMTarget.a \
LLVMipa.a \
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-db/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 02b04b4

Please sign in to comment.