From a42c9f6135a9e565f3788eb302f166aee4d42d3c Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 13 Jul 2012 10:16:19 -0400 Subject: [PATCH] tcmode-external-sourcery: suppress stderr in exttc_run Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-sourcery.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index 18b8d51..bc1161a 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -43,7 +43,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" # files will be extracted into the OE sysroot def exttc_run(d, cmd): try: - return bb.process.run(cmd, shell=True, env={'PATH': d.getVar('PATH', True), 'LD_PRELOAD': ''})[0].rstrip() + return bb.process.run(cmd, shell=True, stderr=None, env={'PATH': d.getVar('PATH', True)})[0].rstrip() except (OSError, bb.process.CmdError): return ''