oe.external: redirect stderr to stdout for newer gcc

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2022-06-08 21:31:18 +05:00
parent e97c0316a1
commit 48c4826df7

View File

@@ -20,7 +20,7 @@ def run(d, cmd, *args):
bb.debug(1, 'oe.external.run({})'.format(repr(args)))
try:
output, _ = bb.process.run(args, cwd=topdir)
output, _ = bb.process.run(args, cwd=topdir, stderr=subprocess.STDOUT)
except bb.process.CmdError as exc:
bb.debug(1, 'oe.external.run: {} failed: {}'.format(subprocess.list2cmdline(args), exc))
else: