anchor.diff:  
   PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,compiler-rt"
   PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,libcxx"
  +#
  +# Default to build all OE-Core supported target arches (user overridable).
  +#
  +LLVM_TARGETS_TO_BUILD ?= "AArch64;ARM;Mips;PowerPC;X86"
  +LLVM_TARGETS_TO_BUILD_append = ";${@get_clang_host_arch(bb, d)};${@get_clang_target_arch(bb, d)}"
   
   EXTRA_OECMAKE="-DLLVM_ENABLE_RTTI=True \
                  -DLLVM_ENABLE_FFI=False \
  
positive.code: "
  
  EXTRA_OECMAKE_append_class-native = "\
                 -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD}" \
  "
  EXTRA_OECMAKE_append_class-nativesdk = "\
                 -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD}" \
                 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
                 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
  "
  
negative.code:                -DLLVM_ENABLE_PIC=ON \
                 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
                 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
                 -DLLVM_TARGETS_TO_BUILD=${@get_clang_target_arch(bb, d)} \
                 -DLLVM_TARGET_ARCH=${@get_clang_target_arch(bb, d)} \
                 -DLLVM_DEFAULT_TARGET_TRIPLE=${TARGET_SYS} \
  "
  