From: Richard Purdie Date: Thu, 30 Dec 2010 10:19:08 +0000 (+0000) Subject: linux-tools.inc: Userspace tools should be compiled with the userspace compiler,... X-Git-Tag: 2011-1~3241 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4;p=openembedded-core.git linux-tools.inc: Userspace tools should be compiled with the userspace compiler, not the kernel one Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index 714207f860..e42c8e3be7 100644 --- a/meta/recipes-kernel/linux/linux-tools.inc +++ b/meta/recipes-kernel/linux/linux-tools.inc @@ -2,11 +2,11 @@ # perf functionality from their tree. do_compile_perf() { - oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} + oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} } do_install_perf() { - oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} DESTDIR=${D} install + oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install }