aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-27 09:18:38 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-27 09:18:38 -0700
commit58519b99843d9bc67deba2e3b53cbca3e201d097 (patch)
tree1382a6da9298f8a168bf49b9117b2a4eb78f2c69
parent03f28ab23ccef3c9be2ff448dd7c2b78475cd085 (diff)
downloadlmfit-58519b99843d9bc67deba2e3b53cbca3e201d097.tar.gz
Use -Werror in external/lmfit
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I081939a4a6512c43683e7b4e88307ebf6ea2721e
-rw-r--r--Android.bp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 2bc9a21..099216e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -21,6 +21,11 @@ cc_library_static {
"lib/lmcurve_tyd.c",
"lib/lmmin.c",
],
- cflags: ["-W", "-Wall", "-Wno-unused-parameter"],
+ cflags: [
+ "-W",
+ "-Wall",
+ "-Werror",
+ "-Wno-unused-parameter",
+ ],
export_include_dirs: ["lib"],
}