tgt: disable fortify3 hardening flag on aarch64

This commit is contained in:
Theodore Ni 2023-07-12 22:43:00 -07:00
parent cf84ebf371
commit 91b10b224b
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
"-Wno-error=maybe-uninitialized"
];
hardeningDisable = lib.optionals stdenv.isAarch64 [
# error: 'read' writing 1 byte into a region of size 0 overflows the destination
"fortify3"
];
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
];