Merge pull request #117964 from ttuegel/aacgain
aacgain: build with -Wno-narrowing
commitb2331df99da576f86deb4e765049e3ca7d236a1c
authorThomas Tuegel <ttuegel@mailbox.org>
dateMon 29 Mar 2021, 21:12 (6 years ago)
parent4f6c50402ad6bb
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