summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-09-16 20:14:01 +0000
committerZachary Turner <zturner@google.com>2015-09-16 20:14:01 +0000
commit7d7ca2f2ba68340be3d5927f7e8c68d984638053 (patch)
treecae07f7e40d4c5bde310f73040a12db283769cf2 /clang/lib/CodeGen
parentddf0661b38bd6f2327a6c9fc0f7a739e354ce236 (diff)
downloadbcm5719-llvm-7d7ca2f2ba68340be3d5927f7e8c68d984638053.tar.gz
bcm5719-llvm-7d7ca2f2ba68340be3d5927f7e8c68d984638053.zip
add a dependency on terminfo library if llvm uses it
Ncurses related symbols can either all be found in libnurses or split between libncurses and libtinfo. The main LLVM cmake scripts look for the setupterm symbol and stores the library that has it in TERMINFO_LIBS. This covers the split and unified ncurses case. LLDB uses symbols that can end up in libtinfo so this library should be pulled in if it is found. There is still an exotic case left where LLDB is configured with -DLLDB_DISABLE_CURSES=NO and LLVM with -DLLVM_ENABLE_TERMINFO=NO but misconfigurations will always be possible. Possibly a diagnostic could be added for that. This fixes bug 24693. Differential Revision: http://reviews.llvm.org/D12672 Patch by Jeremi Piotrowski llvm-svn: 247842
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud