stop using hardeningDisable = [ "fortify" ]; for Go packages

it seems that the issue #25959 is not present anymore
This commit is contained in:
Pavol Rusnak
2019-10-27 14:44:26 +01:00
parent e59c610d58
commit afd38ea1ee
7 changed files with 0 additions and 22 deletions
-5
View File
@@ -18,11 +18,6 @@ buildGoPackage rec {
buildInputs = [ pkgconfig ffmpeg ];
# XXX This removes the -O2 flag, to avoid errors like:
# cgo-dwarf-inference:2:8: error: enumerator value for '__cgo_enum__0' is not an integer constant
# This is a workaround for nixpkgs+golang BUG https://github.com/NixOS/nixpkgs/issues/25959
hardeningDisable = [ "fortify" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {