diff options
| author | Tobias Grosser <tobias@grosser.es> | 2015-02-12 08:27:19 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2015-02-12 08:27:19 +0000 |
| commit | cf33c93bd4c763c1fa8fffc09089aabbf192be8f (patch) | |
| tree | a180aa5778ad9cfc3eac047d65e5c7fa65e3b873 /llvm/lib | |
| parent | 24433a7005835a551f3d71f61aa632db36f639b0 (diff) | |
| download | bcm5719-llvm-cf33c93bd4c763c1fa8fffc09089aabbf192be8f.tar.gz bcm5719-llvm-cf33c93bd4c763c1fa8fffc09089aabbf192be8f.zip | |
Link LLVM libraries into libLLVMPolly if BUILD_SHARED_LIBS=ON is set
Without this change we get linker errors such as:
undefined reference to `llvm::dbgs()'
We only conditionally link in these libraries, as in BUILD_SHARED_LIBS=OFF mode,
linking in these libraries causes such functions (and especially global options)
to be defined twice. The "solution" I choose is most likely not ideal, but seems
to work. If any cmake specialist can suggest a better approach, this would be
appreciated.
We also drop a .c file that is not needed as it caused linker errors as well.
llvm-svn: 228914
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

