mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 08:58:51 +00:00
Ensure Polly linking works without BUILD_SHARED_LIBS
This change ensures all necessary symbols are resolved correctly. Before this change on some systems, the linker may have eliminated some symbols not directly used in bugpoint, but used in Polly. Suggested-by: Michael Kruse <lvm@meinersbur.de> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281438 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f025c10c1
commit
e6c628ff62
@ -39,4 +39,6 @@ if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
|
||||
target_link_libraries(bugpoint ${lib})
|
||||
endforeach(lib)
|
||||
endif(POLLY_LINK_LIBS)
|
||||
# Ensure LLVMTarget can resolve dependences in Polly.
|
||||
target_link_libraries(bugpoint LLVMTarget)
|
||||
endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user