aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorPaul Barker <pbarker@toganlabs.com>2017-03-13 17:48:57 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-16 23:34:33 +0100
commit82b589603ce1283f0e19554a43379741f05b3c62 (patch)
treed650b25ff4425a6606c0b5d3b2963258f1e3678b /meta-oe/recipes-core
parentebd31fd8d519d3e2d26dd14e72d36300f433cfa0 (diff)
downloadmeta-openembedded-contrib-82b589603ce1283f0e19554a43379741f05b3c62.tar.gz
toybox: Fix configure failure
do_configure is currently failing as HOSTCC defaults to just 'cc' in the toybox Makefile. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/toybox/toybox_0.7.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.2.bb b/meta-oe/recipes-core/toybox/toybox_0.7.2.bb
index 93ef45bb5e..84146584d8 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.7.2.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.7.2.bb
@@ -16,6 +16,8 @@ SECTION = "base"
TOYBOX_BIN = "generated/unstripped/toybox"
+EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
+
do_configure() {
oe_runmake defconfig