mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user