From 93671d09b2e10d0ba3bbb9917dced784472e3055 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 13 Jun 2019 10:12:39 -0700 Subject: [PATCH] Avoid libtinfo specifically on linux, where we are seeing issues, as not having it removes colors on some systems --- src/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/build.py b/src/build.py index 789d5231..e6fc7d33 100755 --- a/src/build.py +++ b/src/build.py @@ -809,7 +809,7 @@ def LLVM(): '-DLLVM_ENABLE_PROJECTS=lld;clang', # linking libtinfo dynamically causes problems on some linuxes, # https://github.com/emscripten-core/emsdk/issues/252 - '-DLLVM_ENABLE_TERMINFO=0', + '-DLLVM_ENABLE_TERMINFO=%d' % (not IsLinux()), ]) jobs = host_toolchains.NinjaJobs() @@ -961,7 +961,7 @@ def Fastcomp(): '-DLLVM_ENABLE_ASSERTIONS=ON', # linking libtinfo dynamically causes problems on some linuxes, # https://github.com/emscripten-core/emsdk/issues/252 - '-DLLVM_ENABLE_TERMINFO=0', + '-DLLVM_ENABLE_TERMINFO=%d' % (not IsLinux()), ('-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=%s' % GetSrcDir('emscripten-fastcomp-clang')) ])