git.iko.soy/typeable/nixpkgs
on master help sign in
aacgain: build with -Wno-narrowing

In recent GCC versions, -Wnarrowing is enabled by default, and compilation of aacgain fails due to -Werror. This commit disables the warning again.

commit02ad6bbb42affc830979ef093a256fd3f52591c5 authorThomas Tuegel <ttuegel@mailbox.org> dateSun 28 Mar 2021, 12:28 (6 years ago) parent63be3d6
1 file changed+4
pkgs/applications/audio/aacgain/default.nix+4
pkgs/applications/audio/aacgain/default.nix+4
@@ -12,6 +12,10 @@ stdenv.mkDerivation {
1212
1313 hardeningDisable = [ "format" ];
1414
15+ # -Wnarrowing is enabled by default in recent GCC versions,
16+ # causing compilation to fail.
17+ NIX_CFLAGS_COMPILE = "-Wno-narrowing";
18+
1519 postPatch = ''
1620 (
1721 cd mp4v2