vim: Disable hardening flag fortify
Fortify hardening detects a probable buffer overflow in vim at runtime. This has to be fixed upstream. Debian also disables fortify: https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/rules#n6
This commit is contained in:
parent
034b2ec2ed
commit
0cad2e7af1
@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
|
||||
"--enable-nls"
|
||||
];
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/vim $out/bin/vi
|
||||
mkdir -p $out/share/vim
|
||||
|
Loading…
Reference in New Issue
Block a user