diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2025-08-01 18:29:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-07 12:11:15 +0100 |
commit | dd43f638e9cf1e60064a1d268b4e9e43334ddb58 (patch) | |
tree | 1bbf18fc6ada58e8d82ed04a50949ea315924860 /scripts/lib/checklayer/context.py | |
parent | cf32779ebd5dd4dc31107e32bba25e741f155ccb (diff) | |
download | poky-dd43f638e9cf1e60064a1d268b4e9e43334ddb58.tar.gz |
ovmf: Don't define bool type if building in C23 mode
Backport a patch [1] to fix the below build failure:
/buildarea/tmp/work/corei7-64-wrs-linux/ovmf/edk2-stable202502/sources/ovmf-edk2-stable202502/SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h:13:17: error: two or more data types in declaration specifiers
13 | typedef BOOLEAN bool;
| ^~~~
/buildarea/tmp/work/corei7-64-wrs-linux/ovmf/edk2-stable202502/sources/ovmf-edk2-stable202502/SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h:13:1: error: useless type name in empty declaration [-Werror]
13 | typedef BOOLEAN bool;
[1] https://github.com/tianocore/edk2/commit/772fa11ac82579a8f6fa171e6b835f68af3f64be
(From OE-Core rev: 24600013b65c954bd704a6eb673197ac06b87f69)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.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