diff options
author | jade <lix@jade.fyi> | 2024-03-28 20:27:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-03-28 20:27:32 +0000 |
commit | 61d394e34431eb18c2f750f04e8934238d3508bd (patch) | |
tree | cb1a3aadd651495f499f52d435811d01ebfb6683 /package.nix | |
parent | ae065a992d250cbfedb0ca47215f152ea85bc496 (diff) | |
parent | 14207e1cf83737443636a25534075427f65c1de4 (diff) |
Merge "Build with traps on signed overflow" into main
Diffstat (limited to 'package.nix')
-rw-r--r-- | package.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.nix b/package.nix index a47814bd8..5def8416a 100644 --- a/package.nix +++ b/package.nix @@ -297,7 +297,9 @@ in stdenv.mkDerivation (finalAttrs: { strictDeps = true; - hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie"; + # strictoverflow is disabled because we trap on signed overflow instead + hardeningDisable = [ "strictoverflow" ] + ++ lib.optional stdenv.hostPlatform.isStatic "pie"; meta.platforms = lib.platforms.unix; |