mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
436633e2a2
On freebsd this makes sure that symbols are exported on the binaries that need them. The net result is that we should get symbols in the binaries that need them on every platform. On linux x86-64 this reduces the size of the bin directory from 262MB to 250MB. Patch by Stephen Checkoway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178725 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
289 B
CMake
10 lines
289 B
CMake
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser bitwriter irreader instrumentation scalaropts objcarcopts ipo vectorize)
|
|
|
|
add_llvm_tool(opt
|
|
AnalysisWrappers.cpp
|
|
GraphPrinters.cpp
|
|
PrintSCC.cpp
|
|
opt.cpp
|
|
)
|
|
set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)
|