From: Douglas Royds Date: Wed, 19 Dec 2018 22:59:44 +0000 (+1300) Subject: icecc: readlink -f on the recipe-sysroot gcc/g++ X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15824 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d6788a3ea45d9693743d9b3319fb0368a4d5d33;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git icecc: readlink -f on the recipe-sysroot gcc/g++ We were accidentally doing a readlink -f on simply 'gcc', for instance Signed-off-by: Douglas Royds Signed-off-by: Richard Purdie --- diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 2b189232cb7..b251e9b5aa7 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -303,7 +303,7 @@ def icecc_get_and_check_tool(bb, d, tool): # compiler environment package. t = icecc_get_tool(bb, d, tool) if t: - link_path = icecc_get_tool_link(tool, d) + link_path = icecc_get_tool_link(t, d) if link_path == get_icecc(d): bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, get_icecc(d))) return ""