Browse Source

aufs-util: Define HOSTCC

Fixes errors like below

| make: cc: Command not found
| make: *** [<builtin>: c2sh] Error 127

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 7 years ago
parent
commit
d021ff09b4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb

+ 2 - 0
meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb

@@ -18,6 +18,8 @@ PV = "3.14+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
+export HOSTCC = "${BUILD_CC}"
+
 do_configure_prepend() {
    # Replace sbin,bin paths with bitbake environment
    sed -i -e 's;install_sbin: Tgt = ${DESTDIR}/sbin;install_sbin: Tgt = ${DESTDIR}/${base_sbindir};' \