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:
parent
63be3d6498
commit
02ad6bbb42
|
@ -12,6 +12,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
# -Wnarrowing is enabled by default in recent GCC versions,
|
||||||
|
# causing compilation to fail.
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
(
|
(
|
||||||
cd mp4v2
|
cd mp4v2
|
||||||
|
|
Loading…
Reference in New Issue