anchor.diff:  def get_clang_experimental_target_arch(bb, d):
       return get_clang_experimental_arch(bb, d, 'TARGET_ARCH')
   
  -PACKAGECONFIG ??= "compiler-rt libcplusplus shared-libs"
  -PACKAGECONFIG_class-native = ""
  -PACKAGECONFIG_class-nativesdk = "compiler-rt libcplusplus"
  +PACKAGECONFIG ??= "compiler-rt libcplusplus lto shared-libs"
  +PACKAGECONFIG_class-native = "lto"
  +PACKAGECONFIG_class-nativesdk = "compiler-rt libcplusplus lto"
   
   PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,compiler-rt"
   PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,libcxx"
  +PACKAGECONFIG[lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils,"
   PACKAGECONFIG[shared-libs] = "-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON,,,"
   
   #
  
positive.code:                   -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
                    -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
                    -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS_TO_BUILD_TARGET}' \
                    -DLLVM_TARGET_ARCH=${@get_clang_target_arch(bb, d)} \
                    -DLLVM_DEFAULT_TARGET_TRIPLE=${TARGET_SYS} \
  "
  
negative.code: 
  #Avoid SSTATE_SCAN_COMMAND running sed over llvm-config.
  SSTATE_SCAN_FILES_remove = "*-config"
  
  TOOLCHAIN = "clang"
  
  