aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-26 19:51:45 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-26 19:51:45 -0700
commit03f28ab23ccef3c9be2ff448dd7c2b78475cd085 (patch)
tree409d537c0b423b8718e09e5cd13b7746fba7a833
parent5f905783a5bda985b0666e9a169da85bf248aeec (diff)
downloadlmfit-03f28ab23ccef3c9be2ff448dd7c2b78475cd085.tar.gz
Suppress non-critical warnings in external/lmfit.
* We should enable those warnings after fixing the upstream source code. Bug: 64487164 Test: build with WITH_TIDY=1 Change-Id: Id8645ccfea886e0d391c8829fbef6fdf33b38d8f Merged-In: Id8645ccfea886e0d391c8829fbef6fdf33b38d8f (cherry picked from commit b1e3bd9c344025ce81b94202a273fcd3286e4258)
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a65d618..2bc9a21 100644
--- a/Android.bp
+++ b/Android.bp
@@ -21,5 +21,6 @@ cc_library_static {
"lib/lmcurve_tyd.c",
"lib/lmmin.c",
],
+ cflags: ["-W", "-Wall", "-Wno-unused-parameter"],
export_include_dirs: ["lib"],
}