aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dart/no-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dart/no-werror.patch')
-rw-r--r--testing/dart/no-werror.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/dart/no-werror.patch b/testing/dart/no-werror.patch
new file mode 100644
index 00000000000..92dbce7dad4
--- /dev/null
+++ b/testing/dart/no-werror.patch
@@ -0,0 +1,13 @@
+--- a/build/config/compiler/BUILD.gn
++++ b/build/config/compiler/BUILD.gn
+@@ -672,10 +672,6 @@
+ "-Wextra",
+ ]
+
+- if (dart_sysroot != "alpine") {
+- cflags += [ "-Werror" ]
+- }
+-
+ defines = []
+ if (!using_sanitizer && !is_clang) {
+ # _FORTIFY_SOURCE isn't really supported by Clang now, see