[OE-core] [PATCH] gcc: make sure header path is set correctly

Mittal, AnujX anujx.mittal at intel.com
Thu Jun 16 01:54:57 UTC 2016


> -----Original Message-----
> From: Mittal, AnujX
> Sent: Tuesday, June 14, 2016 5:10 PM
> To: openembedded-core at lists.openembedded.org
> Cc: Mittal, AnujX <anujx.mittal at intel.com>
> Subject: [PATCH] gcc: make sure header path is set correctly
> 
> We're setting the native header paths in do_configure_prepend,
> and don't need to set them again here.
> 
> This results in gcc-target not being able to locate the headers
> and not being able to detect glibc version, which in turn
> results in SSP support not getting detected even though it's available
> in libc.
> 
> Signed-off-by: Anuj Mittal <anujx.mittal at intel.com>

Can this be considered for merge to krogoth and Jethro as well? 

Please let me know if I should be sending a separate patch for it.

Thanks,

> ---
>  meta/recipes-devtools/gcc/gcc-target.inc | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-
> devtools/gcc/gcc-target.inc
> index a960ed4..37c5c62 100644
> --- a/meta/recipes-devtools/gcc/gcc-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-target.inc
> @@ -4,7 +4,6 @@ require gcc-configure-common.inc
>  EXTRA_OECONF_PATHS = "\
>      --with-sysroot=/ \
>      --with-build-sysroot=${STAGING_DIR_TARGET} \
> -    --with-native-system-header-
> dir=${STAGING_DIR_TARGET}${target_includedir} \
>      --with-gxx-include-dir=${includedir}/c++/${BINV} \
>  "
> 
> --
> 1.9.1




More information about the Openembedded-core mailing list