]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-sanitizers: Depend on target gcc
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Fri, 22 Apr 2016 13:26:44 +0000 (16:26 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2016 18:33:07 +0000 (19:33 +0100)
Without this the target gcc might not be in the sysroot
leading to configure failure.

(From OE-Core rev: 329c532db4b2124fa3f4b3ab8c4c6d6c93ca7c2f)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
meta/recipes-devtools/gcc/gcc-sanitizers.inc

index 6091a0b6fb5a7124812b82e6ea5731d40d6ce273..df4e297a4890703b530fdd645f4ac3202a81f2dd 100644 (file)
@@ -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"