aboutsummaryrefslogtreecommitdiffstats
path: root/meta-filesystems
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-27 18:28:04 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-05 19:28:27 +0200
commitd021ff09b42753332a6587c6cdf8355c97b6af7f (patch)
tree6c85c5b4bd6f1308f3b36beee03603c09699aa78 /meta-filesystems
parent43f5811017c01b2173756951b6d269b9b9324467 (diff)
downloadmeta-openembedded-contrib-d021ff09b42753332a6587c6cdf8355c97b6af7f.tar.gz
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>
Diffstat (limited to 'meta-filesystems')
-rw-r--r--meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
index 7d5352eb4e..50d8b909a5 100644
--- a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
+++ b/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};' \