mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Don't link with the archive library programs that don't use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184081 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6a633ca94
commit
5cd6db9a51
@ -1,4 +1,4 @@
|
||||
set(LLVM_LINK_COMPONENTS archive bitreader object)
|
||||
set(LLVM_LINK_COMPONENTS bitreader object)
|
||||
|
||||
add_llvm_tool(llvm-nm
|
||||
llvm-nm.cpp
|
||||
|
@ -19,4 +19,4 @@
|
||||
type = Tool
|
||||
name = llvm-nm
|
||||
parent = Tools
|
||||
required_libraries = Archive BitReader Object
|
||||
required_libraries = BitReader Object
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-nm
|
||||
LINK_COMPONENTS := archive bitreader object
|
||||
LINK_COMPONENTS := bitreader object
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -1,6 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
${LLVM_TARGETS_TO_BUILD}
|
||||
archive
|
||||
bitreader
|
||||
object)
|
||||
|
||||
|
@ -19,4 +19,4 @@
|
||||
type = Tool
|
||||
name = llvm-readobj
|
||||
parent = Tools
|
||||
required_libraries = all-targets Archive BitReader Object
|
||||
required_libraries = all-targets BitReader Object
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-readobj
|
||||
LINK_COMPONENTS := archive bitreader object all-targets
|
||||
LINK_COMPONENTS := bitreader object all-targets
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(LLVM_LINK_COMPONENTS archive object)
|
||||
set(LLVM_LINK_COMPONENTS object)
|
||||
|
||||
add_llvm_utility(obj2yaml
|
||||
obj2yaml.cpp coff2yaml.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user