anchor.diff:      -no-rpath \
       -no-feature-linkat \
       -platform ${XPLATFORM} \
  +    ${PACKAGECONFIG_CONFARGS} \
   "
   
   # for qtbase configuration we need default settings
  
positive.code:     # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
      touch ${S}/mkspecs/oe-device-extra.pri
  
      MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -${QT_EDITION} -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed. PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}"
  }
  
  do_install() {
  
negative.code: XPLATFORM_toolchain-clang = "linux-oe-clang"
  XPLATFORM ?= "linux-oe-g++"
  
  QT_CONFIG_FLAGS = " \
      -sysroot ${STAGING_DIR_NATIVE} \
      -L${STAGING_LIBDIR_NATIVE} \
      -no-gcc-sysroot \
  