Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(895)

Unified Diff: third_party/usrsctp/BUILD.gn

Issue 1094793004: GN: Fix gn gen/compile errors for MIPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698