mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
libhwy: disable trivialautovarinit hardening flag on aarch64
This commit is contained in:
parent
4f7faf6b88
commit
7ea13320bf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user