mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 06:54:36 +02:00
tcmode-external-sourcery: attempt to work around LD_PRELOAD issue
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -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 ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user