diff options
Diffstat (limited to 'third_party/usrsctp')
-rw-r--r-- | third_party/usrsctp/BUILD.gn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/usrsctp/BUILD.gn b/third_party/usrsctp/BUILD.gn index 45567e2..3e3cabb 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 = [ |