Chromium Code Reviews| Index: third_party/usrsctp/BUILD.gn |
| diff --git a/third_party/usrsctp/BUILD.gn b/third_party/usrsctp/BUILD.gn |
| index 7627c95c9c834f364f534294a359e64c2b2dff7b..76e47ca9e3b801c8204b9ecf627e74ca5fb6c51e 100644 |
| --- a/third_party/usrsctp/BUILD.gn |
| +++ b/third_party/usrsctp/BUILD.gn |
| @@ -86,6 +86,7 @@ static_library("usrsctp") { |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ "//build/config/compiler:no_chromium_code" ] |
| + configs += [ "//build/config/compiler:no_incompatible_pointer_warnings" ] |
| public_configs = [ ":usrsctp_config" ] |
| @@ -121,15 +122,6 @@ static_library("usrsctp") { |
| defines += [ "NON_WINDOWS_DEFINE" ] |
| } |
| - 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" ] |
|
Dirk Pranke
2015/07/13 23:08:04
Do we need this block somewhere in the generic con
Peter Mayo
2015/07/14 14:10:30
I hope not.
It seems pretty terrible to turn all
Dirk Pranke
2015/07/14 15:54:14
I think I phrased this badly; my concern was actua
|
| - } |
| - |
| deps = [ |
| "//crypto:platform", |
| ] |