summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/context.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-08-01 13:55:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-07 12:11:15 +0100
commitf7a6163d4ffa7d7fea9318bd08e94dad647a0ae4 (patch)
tree18405796857292f83254987822b7ed1dff74223a /scripts/lib/checklayer/context.py
parentb3991a4554cd1cee3e3b9c41dd67500c26865cab (diff)
downloadpoky-f7a6163d4ffa7d7fea9318bd08e94dad647a0ae4.tar.gz
libclc: do native build of prepare_builtins in a fresh environment
The environment has variables like LDFLAGS set which CMake will try and use, so until our cmake class is comprehensive enough to nuke those in the native toolchain file (if that is possible) do a build inside a clean (apart from PATH) environment to avoid cross-contamination. As noticed by Khem Raj, this can fail in nativesdk builds as the target flags will be passed to the native link resulting in failures like: Requesting program interpreter: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-yoesdk-linux/lib/ld-linux-x86-64.so.2 (From OE-Core rev: 0013f501d1de01606b812d930ef6ca842633f551) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions