aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-02-12 08:27:19 +0000
committerTobias Grosser <tobias@grosser.es>2015-02-12 08:27:19 +0000
commitcf33c93bd4c763c1fa8fffc09089aabbf192be8f (patch)
treea180aa5778ad9cfc3eac047d65e5c7fa65e3b873 /clang/lib/Frontend/InitPreprocessor.cpp
parent24433a7005835a551f3d71f61aa632db36f639b0 (diff)
downloadllvm-cf33c93bd4c763c1fa8fffc09089aabbf192be8f.zip
llvm-cf33c93bd4c763c1fa8fffc09089aabbf192be8f.tar.gz
llvm-cf33c93bd4c763c1fa8fffc09089aabbf192be8f.tar.bz2
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 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions