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.
This commit is contained in:
Thomas Tuegel 2021-03-28 12:28:52 -05:00
parent 63be3d6498
commit 02ad6bbb42
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -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