[OE-core] [PATCH 2/2] gcc-sanitizers: Depend on target gcc

Khem Raj raj.khem at gmail.com
Fri Apr 22 17:21:19 UTC 2016


> On Apr 22, 2016, at 6:26 AM, Jussi Kukkonen <jussi.kukkonen at intel.com> wrote:
> 
> Without this the target gcc might not be in the sysroot
> leading to configure failure.

you might want to correct the comment to say cross gcc. Thats whats added to DEPENDS here
and not target gcc.

> 
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
> ---
> meta/recipes-devtools/gcc/gcc-sanitizers.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> index 6091a0b..df4e297 100644
> --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> @@ -50,7 +50,7 @@ do_install () {
> 
> INHIBIT_DEFAULT_DEPS = "1"
> ALLOW_EMPTY_${PN} = "1"
> -DEPENDS = "gcc-runtime"
> +DEPENDS = "gcc-runtime virtual/${TARGET_PREFIX}gcc"
> 
> BBCLASSEXTEND = "nativesdk"
> 
> --
> 2.1.4
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160422/71d8d7ce/attachment-0002.sig>


More information about the Openembedded-core mailing list