Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Avoid libtinfo specifically on linux, where we are seeing issues #541

Merged
merged 1 commit into from
Jun 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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'))
])
Expand Down