1 diff --git a/BUILD.gn b/BUILD.gn
2 index 598bbbcb72..62c6c5a187 100644
5 @@ -138,7 +138,7 @@ config("library_impl_config") {
6 # target_defaults and direct_dependent_settings.
7 config("common_inherited_config") {
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) {