libhwy: disable trivialautovarinit hardening flag on aarch64

This commit is contained in:
Robert Scott 2024-06-18 23:04:00 +01:00
parent 4f7faf6b88
commit 7ea13320bf

View File

@ -27,6 +27,12 @@ stdenv.mkDerivation rec {
hash = "sha256-ileSNYddOt1F5rooRB0fXT20WkVlnG+gP5w7qJdBuww=";
});
hardeningDisable = lib.optionals stdenv.hostPlatform.isAarch64 [
# aarch64-specific code gets:
# __builtin_clear_padding not supported for variable length aggregates
"trivialautovarinit"
];
nativeBuildInputs = [ cmake ninja ];
# Required for case-insensitive filesystems ("BUILD" exists)