summaryrefslogtreecommitdiffstats
path: root/contrib/android/e2fsdroid.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/android/e2fsdroid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/android/e2fsdroid.c b/contrib/android/e2fsdroid.c
index 6e51414..82bd340 100644
--- a/contrib/android/e2fsdroid.c
+++ b/contrib/android/e2fsdroid.c
@@ -22,6 +22,11 @@
#define UID_GID_MAP_MAX_EXTENTS 340
#endif
+// disable leak detection, breaks host asan build
+const char *__asan_default_options() {
+ return "detect_leaks=0";
+}
+
static char *prog_name = "e2fsdroid";
static char *in_file;
static char *block_list;