Openembedded Core Discussions
 help / color / mirror / Atom feed
* [dora][master][PATCH] syslinux: use cross toolchain to compile
@ 2013-11-21 19:30 Mark Hatle
  0 siblings, 0 replies; only message in thread
From: Mark Hatle @ 2013-11-21 19:30 UTC (permalink / raw)
  To: openembedded-core

From: Lei Liu <lei.liu2@windriver.com>

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 <lei.liu2@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
 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 c6e83b5..1c240de 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/
-- 
1.8.1.2.545.g2f19ada



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-21 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 19:30 [dora][master][PATCH] syslinux: use cross toolchain to compile Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox