Patchwork freetype: Update EXTRA_OECONF to use host gcc.

login
register
mail settings
Submitter Noor Ahsan
Date Dec. 20, 2012, 11:37 a.m.
Message ID <1356003444-22171-1-git-send-email-noor_ahsan@mentor.com>
Download mbox | patch
Permalink /patch/41379/
State Accepted
Commit 23e6431687a5602a7e579c546a69008954f64620
Headers show

Comments

Noor Ahsan - Dec. 20, 2012, 11:37 a.m.
From: Noor Ahsan <noor_ahsan@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@mentor.com>
---
 meta/recipes-graphics/freetype/freetype_2.4.10.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - Dec. 20, 2012, 12:25 p.m.
On Thu, Dec 20, 2012 at 9:37 AM, Noor, Ahsan <noor_ahsan@mentor.com> wrote:
> From: Noor Ahsan <noor_ahsan@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@mentor.com>

Ross, I think this could be evaluated for danny too.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
Noor Ahsan - Dec. 20, 2012, 1:06 p.m.
I think the behavior is same on danny.

Noor

-----Original Message-----
From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: Thursday, December 20, 2012 5:25 PM
To: Ahsan, Noor; Burton, Ross
Cc: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] freetype: Update EXTRA_OECONF to use host gcc.

On Thu, Dec 20, 2012 at 9:37 AM, Noor, Ahsan <noor_ahsan@mentor.com> wrote:
> From: Noor Ahsan <noor_ahsan@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@mentor.com>

Ross, I think this could be evaluated for danny too.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Patch

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