mmc-utils: disable fortify3 hardening flag

This commit is contained in:
Theodore Ni 2023-07-12 22:27:28 -07:00
parent 209ba9b911
commit 2052c2d56f
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -12,6 +12,9 @@ stdenv.mkDerivation {
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "prefix=$(out)" ];
# causes redefinition of _FORTIFY_SOURCE
hardeningDisable = [ "fortify3" ];
postInstall = ''
mkdir -p $out/share/man/man1
cp man/mmc.1 $out/share/man/man1/