bash: give bionic file with comment about "fortify"

This commit is contained in:
cidkidnix 2022-09-29 08:51:21 -05:00
parent 0bf33f0e83
commit db31db7e84

View file

@ -36,6 +36,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ]
# bionic libc is super weird and has issues with fortify outside of its own libc, check this comment:
# https://github.com/NixOS/nixpkgs/pull/192630#discussion_r978985593
# or you can check libc/include/sys/cdefs.h in bionic source code
++ optional (stdenv.hostPlatform.libc == "bionic") "fortify";
outputs = [ "out" "dev" "man" "doc" "info" ];