]> granicus.if.org Git - clang/commit
[CMake][Fuchsia] Disable terminfo database in Fuchsia toolchain
authorPetr Hosek <phosek@chromium.org>
Mon, 27 Nov 2017 20:29:13 +0000 (20:29 +0000)
committerPetr Hosek <phosek@chromium.org>
Mon, 27 Nov 2017 20:29:13 +0000 (20:29 +0000)
commit2ec21997285d5f0cf71fd483ce36ca3d5d6ebab6
tree3c0ad85851dcf61d102a099d4f122ea9d622b519
parentde3c9ade60eaf211b8f9b142084300417974819e
[CMake][Fuchsia] Disable terminfo database in Fuchsia toolchain

It's used to determine whether terminal supports colors, but within LLVM
it's only used in handful of places and in Clang it's only used in AST
dumper, otherwise Clang relies on the -fcolor-diagnostics flag which we
pass explicitly from our build system anyway. This eliminates one of the
shared libraries dependencies making the toolchain less reliant on the
host environment.

Differential Revision: https://reviews.llvm.org/D40329

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319088 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/caches/Fuchsia-stage2.cmake
cmake/caches/Fuchsia.cmake