diff options
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; |