diff --git a/libselinux/Android.bp b/libselinux/Android.bp index ff7dc3d3..214a3e56 100644 --- a/libselinux/Android.bp +++ b/libselinux/Android.bp @@ -40,6 +40,7 @@ common_CFLAGS = [ "-DNO_MEDIA_BACKEND", "-DNO_X_BACKEND", "-DNO_DB_BACKEND", + "-DAGGRESSIVE_FREE_AFTER_REGEX_MATCH", "-Wall", "-Werror", "-Wno-error=missing-noreturn",