From 7d687c1d642e50f9c7cec73f38e5631f916945af Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 9 Jul 2023 17:25:15 +0100 Subject: [PATCH] gvm-libs: disable fortify3 hardening flag --- pkgs/development/libraries/gvm-libs/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/gvm-libs/default.nix b/pkgs/development/libraries/gvm-libs/default.nix index 6d0978442702..5d676de5c481 100644 --- a/pkgs/development/libraries/gvm-libs/default.nix +++ b/pkgs/development/libraries/gvm-libs/default.nix @@ -60,6 +60,9 @@ stdenv.mkDerivation rec { "-DGVM_RUN_DIR=${placeholder "out"}/run/gvm" ]; + # causes redefinition of _FORTIFY_SOURCE + hardeningDisable = [ "fortify3" ]; + meta = with lib; { description = "Libraries module for the Greenbone Vulnerability Management Solution"; homepage = "https://github.com/greenbone/gvm-libs";