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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2892413002: Fix ARMv6 Linux cross-build (Closed)
Patch Set: Add an argument to specifiy the float ABI Created 3 years, 7 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 | « no previous file | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index b33351bc992e8b17efbb936797bb2a3ca8052a0c..75fb9dc915228949bc6f8829163eb6b1610a4652 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -556,6 +556,12 @@ if (is_win) {
default_warning_flags += [ "-Wno-psabi" ]
}
+ # The Raspberry Pi 1 toolchain enables this warning, but Dart doesn't build
+ # cleanly with it.
+ if (is_linux && !is_clang && current_cpu == "arm" && arm_version == 6) {
+ default_warning_flags += [ "-Wno-type-limits" ]
+ }
+
if (is_android) {
# Disable any additional warnings enabled by the Android build system but
# which chromium does not build cleanly with (when treating warning as
« no previous file with comments | « no previous file | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698