anchor.diff:                  -DLIBCLANG_LIBRARY_VERSION=1 \
                   -DCMAKE_CROSSCOMPILING:BOOL=ON \
                   -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS}" \
  +"
  +EXTRA_OECMAKE_append_class-target = "\
                   -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen-${LLVM_VERSION} \
                   -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen-${LLVM_VERSION} \
  +"
  +EXTRA_OECMAKE_append_class-native = "\
  +                -DPYTHON_RELEASE_LIB=${STAGING_LIBDIR} \
  +                -DLLDB_DISABLE_LIBEDIT=1 \
  +                -DDL_LIBRARY_PATH=${libdir}/libdl.so \
   "
   
   export STAGING_INCDIR
  
positive.code: 
  	# Correct files permission
  	chmod 0644 ${D}${libdir}/llvm-${LLVM_VERSION}/lib/*.a
  }
  
  # we name and ship packages as Debian,
  
negative.code: 	cd ${B}
  }
  
  do_install_append(){
  	# Create this fake directory to make the install libclang-common-dev happy
  	# under the unsupported archs of compiler-rt
  	install -d ${D}${libdir}/clang/${LLVM_VERSION} \
  