openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / livekit-libwebrtc / 0002-disable-narrowing-const-reference.patch
blobfc7c615cdaca53aa8afbe2121880e1a6100d9910
1 diff --git a/BUILD.gn b/BUILD.gn
2 index 598bbbcb72..62c6c5a187 100644
3 --- a/BUILD.gn
4 +++ b/BUILD.gn
5 @@ -138,7 +138,7 @@ config("library_impl_config") {
6 # target_defaults and direct_dependent_settings.
7 config("common_inherited_config") {
8 defines = []
9 - cflags = [ "-fvisibility=default" ]
10 + cflags = [ "-fvisibility=default", "-Wno-error=c++11-narrowing-const-reference" ]
11 ldflags = [ "-lavutil", "-lavformat", "-lavcodec" ]
13 if (rtc_dlog_always_on) {