diff options
| author | Michael Brown | 2023-06-07 13:18:38 +0200 |
|---|---|---|
| committer | Michael Brown | 2023-06-07 13:24:03 +0200 |
| commit | 9cb0a4b8ecfa2aa24df36eb43d3f50dde32442d1 (patch) | |
| tree | ef27ba9dbf9ad3ca08dba921c9b65ff1a39cbd3f /src/core/process.c | |
| parent | [crypto] Add support for PKCS#8 private key format (diff) | |
| download | ipxe-9cb0a4b8ecfa2aa24df36eb43d3f50dde32442d1.tar.gz ipxe-9cb0a4b8ecfa2aa24df36eb43d3f50dde32442d1.tar.xz ipxe-9cb0a4b8ecfa2aa24df36eb43d3f50dde32442d1.zip | |
[efi] Disable static assertions in EFI headers on non-EFI platforms
The EDK2 headers may be included even in builds for non-EFI platforms.
Commits such as 9de6c45 ("[arm] Use -fno-short-enums for all 32-bit
ARM builds") have so far ensured that the compile-time checks within
the EDK2 headers will pass even when building for a non-EFI platform.
As a more general solution, temporarily disable static assertions
while including UefiBaseType.h if building on a non-EFI platform.
This avoids the need to modify the ABI on other platforms.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/process.c')
0 files changed, 0 insertions, 0 deletions
