diff options
Diffstat (limited to 'lib/ext2fs/Android.bp')
-rw-r--r-- | lib/ext2fs/Android.bp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ext2fs/Android.bp b/lib/ext2fs/Android.bp index 404fedd9..62bcba40 100644 --- a/lib/ext2fs/Android.bp +++ b/lib/ext2fs/Android.bp @@ -4,7 +4,6 @@ cc_library { name: "libext2fs", host_supported: true, unique_host_soname: true, - defaults: ["e2fsprogs-defaults"], srcs: [ "ext2_err.c", "alloc.c", @@ -95,7 +94,12 @@ cc_library { whole_static_libs: [ "libext2_com_err" ], - cflags: ["-Wno-unused-parameter"], + cflags: [ + "-W", + "-Wall", + "-Wno-unused-parameter", + "-Wno-macro-redefined", + ], target: { host: { // Consider removing this library as a whole for the host. It is not @@ -112,7 +116,6 @@ cc_library { enabled: true, include_dirs: [ "external/e2fsprogs/include/mingw" ], cflags: [ - "-Wno-error=cpp", "-Wno-format", ], host_ldlibs: ["-lws2_32"], |