setting LLVM_TARGETS_TO_BUILD breaks when building clang shared library
I am building clang 8.0.1 from source and tried using -DLLVM_TARGETS_TO_BUILD="X86"
as part of the cmake input along with shared libraries. LLVM
builds fine, the clang executable builds fine but the clang .so
fails, saying all the other arch entry points are missing. As
soon as I change X86 to all for both llvm and clang, it works
fine. I am bootstrapping with gcc9/ld first, then I will try it
with clang/lld. Is this something I am doing wrong or is there a