[OE-core] [PATCH] freetype: Update EXTRA_OECONF to use host gcc.

Noor, Ahsan noor_ahsan at mentor.com
Thu Dec 20 11:37:24 UTC 2012


From: Noor Ahsan <noor_ahsan at mentor.com>

* It uses host gcc in its configure script. When IA32
toolchain is installed it starts using its binaries instead
of native gcc. Modified EXTRA_OECONF so that host gcc is used.

Signed-off-by: Noor Ahsa <noor_ahsan at mentor.com>
---
 meta/recipes-graphics/freetype/freetype_2.4.10.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/freetype/freetype_2.4.10.bb b/meta/recipes-graphics/freetype/freetype_2.4.10.bb
index 9365475..35d6d22 100644
--- a/meta/recipes-graphics/freetype/freetype_2.4.10.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.4.10.bb
@@ -28,7 +28,7 @@ inherit autotools pkgconfig binconfig
 LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
 EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
 EXTRA_OEMAKE_class-native = ""
-EXTRA_OECONF = "--without-zlib --without-bzip2"
+EXTRA_OECONF = "--without-zlib --without-bzip2 CC_BUILD='${BUILD_CC}'"
 
 do_configure() {
 	cd builds/unix
-- 
1.7.9.5





More information about the Openembedded-core mailing list