Skip to contentSkip to conversation

dpkg: Only set DEB_HOST_ARCH in target case

PATCH New Richard Purdie 1 participant 1 message Sep 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dpkg: Only set DEB_HOST_ARCH in target case

If we don't do this, the sstate checksums vary for dpkg-native depending on which MACHINE is set and this is clearly incorrect. It leads to dpkg-native rebuilding far too often.

meta/recipes-devtools/dpkg/dpkg.inc +0 -0
index 52a9bd7..e8d8a9b 100644
@@ -33,7 +33,7 @@ EXTRA_OECONF = "\

  "

 EXTRA_OECONF += "TAR=tar"
-EXTRA_OECONF += "DEB_HOST_ARCH=${DPKG_ARCH}" +EXTRA_OECONF_append_class-target = " DEB_HOST_ARCH=${DPKG_ARCH}"
 do_configure () {
     echo >> ${S}/m4/compiler.m4