aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-27 10:30:39 -0700
committerChih-Hung Hsieh <chh@google.com>2017-09-27 10:31:29 -0700
commit0f5d30bc4d7394dcf2a002a0fa99942c41a219c7 (patch)
treee40cc3661934787db737fffd10ef61328cbc2060
parent10161487330cae1326cd75bdef14a44920e094c1 (diff)
downloadbzip2-0f5d30bc4d7394dcf2a002a0fa99942c41a219c7.tar.gz
Use -Werror in external/bzip2
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I0a2edf629260d179476903548c1a1c4a6a4df594
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 897dc77..c9c0e13 100644
--- a/Android.bp
+++ b/Android.bp
@@ -25,6 +25,7 @@ cc_library_static {
cflags: [
"-O3",
"-DUSE_MMAP",
+ "-Werror",
"-Wno-unused-parameter",
],
export_include_dirs: ["."],
@@ -49,6 +50,7 @@ cc_binary {
static_libs: ["libbz"],
stl: "none",
cflags: [
+ "-Werror",
"-Wno-unused-parameter",
],
symlinks: [