From 435a17cb2b5ef44014f6c80487be78a91a368875 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 10 Jul 2012 20:15:02 -0400 Subject: [PATCH] tcmode-external-sourcery: attempt to work around LD_PRELOAD issue 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 18bddbe..18b8d51 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)})[0].rstrip() + return bb.process.run(cmd, shell=True, env={'PATH': d.getVar('PATH', True), 'LD_PRELOAD': ''})[0].rstrip() except (OSError, bb.process.CmdError): return ''