syslinux: use cross toolchain to compile
PATCH 1/1 syslinux: use cross toolchain to compile
From: Lei Liu <[email protected]>
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 <[email protected]>
Signed-off-by Randy MacLeod <[email protected]>
--- meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/syslinux/syslinux_6.01.bb +1 -1
@@ -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/
Signature · 1 line
1.8.1.2.545.g2f19ada