Files
nixpkgs/pkgs/by-name/li/livekit-libwebrtc/0002-disable-narrowing-const-reference.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
464 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/BUILD.gn b/BUILD.gn
index 598bbbcb72..62c6c5a187 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -138,7 +138,7 @@ config("library_impl_config") {
# target_defaults and direct_dependent_settings.
config("common_inherited_config") {
defines = []
- cflags = [ "-fvisibility=default" ]
+ cflags = [ "-fvisibility=default", "-Wno-error=c++11-narrowing-const-reference" ]
ldflags = [ "-lavutil", "-lavformat", "-lavcodec" ]
if (rtc_dlog_always_on) {