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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user