Index: third_party/usrsctp/BUILD.gn |
diff --git a/third_party/usrsctp/BUILD.gn b/third_party/usrsctp/BUILD.gn |
index 45567e2e536e50e6e5a1b4f14f092ee53ae0acf0..3e3cabb8c4b2ac5d3bd17ab6d8a0f1af9cda8eb4 100644 |
--- a/third_party/usrsctp/BUILD.gn |
+++ b/third_party/usrsctp/BUILD.gn |
@@ -122,6 +122,11 @@ static_library("usrsctp") { |
if (is_clang) { |
cflags = [ "-Wno-incompatible-pointer-types" ] |
+ } else if (target_cpu == "mipsel") { |
+ # mipsel is still using gcc (4.9), |
+ # which does not support "-Wno-incompatible-pointer-types" |
+ # so let's disable all warnings for this module. |
+ cflags = [ "-w" ] |
} |
deps = [ |