tcmode-external-sourcery: attempt to work around LD_PRELOAD issue

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2012-07-10 20:15:02 -04:00
parent cfcb4ec867
commit 435a17cb2b

View File

@@ -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 ''