aboutsummaryrefslogtreecommitdiff
path: root/programs/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'programs/Android.bp')
-rw-r--r--programs/Android.bp7
1 files changed, 6 insertions, 1 deletions
diff --git a/programs/Android.bp b/programs/Android.bp
index 9d74c1e0..9a6657b5 100644
--- a/programs/Android.bp
+++ b/programs/Android.bp
@@ -8,13 +8,18 @@ cc_binary_host {
"lz4io.c",
"lz4cli.c",
],
+ cflags: ["-Wall", "-Werror"],
static_libs: ["liblz4"],
stl: "libc++_static",
}
cc_binary_host {
name: "lz4c",
- cflags: ["-DENABLE_LZ4C_LEGACY_OPTIONS"],
+ cflags: [
+ "-DENABLE_LZ4C_LEGACY_OPTIONS",
+ "-Wall",
+ "-Werror",
+ ],
srcs: [
"datagen.c",
"bench.c",