1
0
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:
Rafael Espindola 2013-06-17 15:29:46 +00:00
parent 699a9ec3ab
commit cf72593c14
7 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -19,4 +19,4 @@
type = Tool
name = llvm-nm
parent = Tools
required_libraries = Archive BitReader Object
required_libraries = BitReader Object

View File

@ -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

View File

@ -1,6 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
archive
bitreader
object)

View File

@ -19,4 +19,4 @@
type = Tool
name = llvm-readobj
parent = Tools
required_libraries = all-targets Archive BitReader Object
required_libraries = all-targets BitReader Object

View File

@ -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

View File

@ -1,4 +1,4 @@
set(LLVM_LINK_COMPONENTS archive object)
set(LLVM_LINK_COMPONENTS object)
add_llvm_utility(obj2yaml
obj2yaml.cpp coff2yaml.cpp