anchor.diff:                  GDB_HOST="${BUILD_SYS}" \
                   GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
                   '
  +
  +EXTRA_OEMAKE_class-cross = 'RPMPKG="${PV}" \
  +                            GDB_TARGET="${BUILD_SYS} \
  +                                        \${GDB_CONF_FLAGS} \
  +                                        --target=${TARGET_SYS}" \
  +                            GDB_HOST="${BUILD_SYS}" \
  +                            GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
  +                            '
  +
   EXTRA_OEMAKE_append_class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
  +EXTRA_OEMAKE_append_class-cross = " LDFLAGS='${BUILD_LDFLAGS}'"
  +
  +REMOVE_M32 = "sed -i -e 's/#define TARGET_CFLAGS_ARM_ON_X86_64.*/#define TARGET_CFLAGS_ARM_ON_X86_64\t\"TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64\"/g' ${S}/configure.c"
  +
  +REMOVE_M32_class-cross = ""
   
   do_configure() {
       :
  
positive.code:     esac
  
      sed -i s/FORCE_DEFINE_ARCH/"${ARCH}"/g ${S}/configure.c
      sed -i -e 's/#define TARGET_CFLAGS_ARM_ON_X86_64.*/#define TARGET_CFLAGS_ARM_ON_X86_64\t\"TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64\"/g' ${S}/configure.c
      sed -i 's/&gt;/>/g' ${S}/Makefile
  }
  
  
negative.code: 
  inherit gettext
  
  BBCLASSEXTEND = "native cross"
  
  # crash 7.1.3 and before don't support mips64
  COMPATIBLE_HOST = "^(?!mips64).*"
  