[OE-core] gcc-configure-common: Use build time sysroot for target gcc

Saul Wold sgw at linux.intel.com
Thu Jun 14 17:14:29 UTC 2012


On 06/13/2012 01:26 AM, Bogdan Marinescu wrote:
> From: Khem Raj<raj.khem at gmail.com>
>
> Otherwise it assumes / as sysroot on build host and starts
> searching for directories in there.
>
> Signed-off-by: Khem Raj<raj.khem at gmail.com>
> ---
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> index 1ee7504..5bca2b7 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> @@ -1,4 +1,6 @@
>   require gcc-configure-common.inc
>
>   EXTRA_OECONF_PATHS = " \
> +    --with-sysroot \

I can't seem to find the reply to this, but RP added a "=" to the
end of this and that seems to have re-introduced the problem we were 
attempting to fix.

Apparently this is a bug in the configure script then also.

Sau!

> +    --with-build-sysroot=${STAGING_DIR_TARGET} \
>       --with-gxx-include-dir=${includedir}/c++/"
> --
> cgit v0.9.0.2-39-g756e
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>




More information about the Openembedded-core mailing list