OVMF: disable hardening option "relro" on aarch64

This option doesn't work with aarch64-elf toolchain for some reason. All
other *-elf toolchains are just fine.
This commit is contained in:
sanana
2026-01-17 12:46:29 -05:00
committed by Michael Daniels
parent 60eb004cf8
commit e402bfe2c0
@@ -136,7 +136,8 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
"stackprotector"
"pic"
"fortify"
];
]
++ lib.optional stdenv.hostPlatform.isAarch64 "relro";
buildFlags =
# IPv6 has no reason to be disabled.