mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Don't link with the archive library programs that don't use it.
llvm-svn: 184081
This commit is contained in:
parent
699a9ec3ab
commit
cf72593c14
@ -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…
x
Reference in New Issue
Block a user