Skip to content

Commit

Permalink
libhwy: disable trivialautovarinit hardening flag on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Jun 18, 2024
1 parent 4f7faf6 commit 7ea1332
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/libhwy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ea1332

Please sign in to comment.