From b0da7ccde5380726acfccf1a96cdf5560edf9159 Mon Sep 17 00:00:00 2001 From: Lei Liu Date: Thu, 21 Nov 2013 13:30:48 -0600 Subject: syslinux: use cross toolchain to compile syslinux is compling something with host gcc at do_install stage, which leads to some unexpected errors with old gcc on host. Using our cross toolchain instead. Signed-off-by: Lei Liu Signed-off-by: Randy MacLeod Signed-off-by: Richard Purdie --- meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb index 4438ea8330..538be56b93 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.01.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.01.bb @@ -44,7 +44,7 @@ do_compile() { } do_install() { - oe_runmake install INSTALLROOT="${D}" firmware="bios" + oe_runmake CC="${CC} ${CFLAGS}" install INSTALLROOT="${D}" firmware="bios" install -d ${D}${datadir}/syslinux/ install -m 644 ${S}/bios/core/ldlinux.sys ${D}${datadir}/syslinux/ -- cgit v1.2.3