aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2017-02-17 09:55:25 -0800
committerAurimas Liutikas <aurimas@google.com>2017-02-17 09:55:25 -0800
commit81cb700f814b6db0bb866c2d357b7c51d04cabbd (patch)
treed759863ce7343940f497a5235851d023a3c0a2ef
parent89ad674ab0175600088acfee8fb90b3d5af4f287 (diff)
downloadsquashfs-tools-81cb700f814b6db0bb866c2d357b7c51d04cabbd.tar.gz
Suppress existing warnigns and enable -Werror for external/squashfs-tools
The bug has been filed for almost a year to fix these warnings. There was no progress on it. This CL disables existing warning types and enables -Werror to make sure we don't add new warnings. Bug: 28268383 Test: make mksquashfs produces no warnigns anymore Change-Id: Id752814b2a5f6fdc6183caffa5620f983601d5d6
-rw-r--r--squashfs-tools/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/squashfs-tools/Android.mk b/squashfs-tools/Android.mk
index 79b411b..74d042f 100644
--- a/squashfs-tools/Android.mk
+++ b/squashfs-tools/Android.mk
@@ -32,7 +32,8 @@ LOCAL_SRC_FILES := \
LOCAL_CFLAGS := -I -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -Wall \
-DCOMP_DEFAULT="\"lz4\"" -DGZIP_SUPPORT -DLZ4_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT \
- -Wno-unused-parameter
+ -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-arith -Wno-missing-field-initializers \
+ -Wno-unused-function -Werror
LOCAL_LDLIBS := -lpthread -lm -lz