mympd: disable fortify3 hardening flag

This commit is contained in:
Robert Scott 2023-07-09 18:37:08 +01:00
parent c3217f1f80
commit 8e6d31c9c9

View file

@ -51,8 +51,12 @@ stdenv.mkDerivation rec {
# similarly here # similarly here
"-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd" "-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd"
]; ];
# See https://github.com/jcorporation/myMPD/issues/315 hardeningDisable = [
hardeningDisable = [ "strictoverflow" ]; # See https://github.com/jcorporation/myMPD/issues/315
"strictoverflow"
# causes redefinition of _FORTIFY_SOURCE
"fortify3"
];
meta = { meta = {
homepage = "https://jcorporation.github.io/myMPD"; homepage = "https://jcorporation.github.io/myMPD";