Replace -Wno-error= with -Wno-
Reduce warnings spam by turning off instead of ignoring warnings.
Test: m libwebsockets
Change-Id: I7847d072a78e4cc376561e102644b625db281dbb
diff --git a/Android.bp b/Android.bp
index 5b1f0a4..9624a69 100644
--- a/Android.bp
+++ b/Android.bp
@@ -145,9 +145,9 @@
"-Wignored-qualifiers",
"-Wno-deprecated-declarations",
"-pthread",
- "-Wno-error=unused-command-line-argument",
- "-Wno-error=unused-parameter",
- "-Wno-error=implicit-function-declaration",
+ "-Wno-unused-command-line-argument",
+ "-Wno-unused-parameter",
+ "-Wno-implicit-function-declaration",
],
},
},