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

Commit

Permalink
Don't link libtinfo; fixes #252 (#539)
Browse files Browse the repository at this point in the history
This may prevent nice colors in the output, but I didn't see that in my local testing (there's no error checking for those flags, though, so not sure I did it right).

May fix emscripten-core/emsdk#252
  • Loading branch information
kripken authored Jun 12, 2019
1 parent 5c614a4 commit 6ecbbca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,9 @@ def LLVM():
'-DLLVM_ENABLE_ASSERTIONS=ON',
'-DLLVM_TARGETS_TO_BUILD=X86;WebAssembly',
'-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',
])

jobs = host_toolchains.NinjaJobs()
Expand Down

0 comments on commit 6ecbbca

Please sign in to comment.