Take a more radical approach to disabling colours: pretend we don't
authorpascal <pascal@openbsd.org>
Mon, 17 Apr 2017 19:58:53 +0000 (19:58 +0000)
committerpascal <pascal@openbsd.org>
Mon, 17 Apr 2017 19:58:53 +0000 (19:58 +0000)
commit792948a31a3d6312279f4e13077a1a5c3e523e9b
tree101d26e04316cb623c149bbf974b41e3e10c0026
parentcd96d081a832ef98ebe51d62635444195595fb7e
Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h.  Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto.  However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@
gnu/usr.bin/clang/clang-tblgen/Makefile
gnu/usr.bin/clang/clang/Makefile
gnu/usr.bin/clang/include/llvm/Config/config.h
gnu/usr.bin/clang/llc/Makefile
gnu/usr.bin/clang/lld/Makefile
gnu/usr.bin/clang/llvm-tblgen/Makefile