OVMF: fix build for -none-elf targets

Looks like changes to default hardening flags on riscv64 and loongarch64
broke build for *-none-elf. Let's apply the fix for aarch64-none-elf to
these targets too.
This commit is contained in:
lzcunt
2026-08-25 12:53:01 +03:00
parent b6b110cdc7
commit ff13100ada

View File

@@ -213,7 +213,7 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
"pic"
"fortify"
]
++ lib.optional stdenv.hostPlatform.isAarch64 "relro";
++ lib.optional stdenv.hostPlatform.isNone "relro";
buildFlags =
# IPv6 has no reason to be disabled.