]> 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>
Fri, 29 Apr 2016 06:53:56 +0000 (07:53 +0100)
Without this the target gcc might not be in the sysroot
leading to configure failure.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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"