[PATCH] D86173: Don't look for terminfo libs when LLVM_ENABLE_TERMINFO=OFF

Khem Raj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 08:58:53 PST 2021


raj.khem added a comment.

I am still seeing build failures in NATIVE/llvm-config when I am cross building clang for say aarch64 on a x86_64 host. Even when I specify `-DLLVM_ENABLE_TERMINFO=OFF`, it still goes and pokes for these ncurses libs and adds them to linker cmd. Since my target rootfs is set to not have these libs the final link fails to find -lterminfo rightly. Surprisingly, non NATIVE parts work ok and seem to respect LLVM_ENABLE_TERMINFO settings. Any insights ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86173/new/

https://reviews.llvm.org/D86173



More information about the llvm-commits mailing list