about summary refs log tree commit diff
path: root/pkgs/applications/audio/mympd
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2023-07-09 18:37:08 +0100
committerRobert Scott <code@humanleg.org.uk>2023-07-09 18:37:08 +0100
commit8e6d31c9c9b9054359739b83f630b4aad637e0b6 (patch)
tree8d2b192fe8894c219996f4327e32eaaabd7db42b /pkgs/applications/audio/mympd
parentc3217f1f80e8165b0fb38f296c3ce28e252e2abe (diff)
mympd: disable fortify3 hardening flag
Diffstat (limited to 'pkgs/applications/audio/mympd')
-rw-r--r--pkgs/applications/audio/mympd/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/audio/mympd/default.nix b/pkgs/applications/audio/mympd/default.nix
index 06d241988864d..5d2030b6385bc 100644
--- a/pkgs/applications/audio/mympd/default.nix
+++ b/pkgs/applications/audio/mympd/default.nix
@@ -51,8 +51,12 @@ stdenv.mkDerivation rec {
     # similarly here
     "-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd"
   ];
-  # See https://github.com/jcorporation/myMPD/issues/315
-  hardeningDisable = [ "strictoverflow" ];
+  hardeningDisable = [
+    # See https://github.com/jcorporation/myMPD/issues/315
+    "strictoverflow"
+    # causes redefinition of _FORTIFY_SOURCE
+    "fortify3"
+  ];
 
   meta = {
     homepage = "https://jcorporation.github.io/myMPD";