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.
wip/yesman
Thomas Tuegel 3 years ago
parent 63be3d6498
commit 02ad6bbb42
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
  1. 4
      pkgs/applications/audio/aacgain/default.nix

@ -12,6 +12,10 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ];
# -Wnarrowing is enabled by default in recent GCC versions,
# causing compilation to fail.
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
postPatch = ''
(
cd mp4v2

Loading…
Cancel
Save