Whamcloud - gitweb
e2fsck: avoid out-of-bounds write for very deep extent trees
[tools/e2fsprogs.git] / Android.bp
index f9c3b6f..e596664 100644 (file)
@@ -42,7 +42,7 @@ license {
 
 cc_defaults {
     name: "e2fsprogs-defaults",
-    cflags: ["-Wall", "-Werror"],
+    cflags: ["-Wall", "-Werror", "-Wno-pointer-arith"],
     target: {
         darwin: {
             // Still has unfixed/unsuppressed warnings.
@@ -55,6 +55,9 @@ cc_defaults {
                 "-Wno-unused-variable",
             ],
         },
+        bionic: {
+            system_shared_libs: ["libc", "libdl"],
+        },
     },
 }