stop using hardeningDisable = [ "fortify" ]; for Go packages
it seems that the issue #25959 is not present anymore
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user