[sanitizer] Fix android buildbots after r297370
@@ -1461,6 +1461,7 @@ void MaybeReexec() {
void PrintModuleMap() { }
void CheckNoDeepBind(const char *filename, int flag) {
+#if !SANITIZER_ANDROID
if (flag & RTLD_DEEPBIND) {
Report(
"You are trying to dlopen a %s shared library with RTLD_DEEPBIND flag"
@@ -1471,6 +1472,7 @@ void CheckNoDeepBind(const char *filename, int flag) {
filename, filename);
Die();
}
+#endif
}
uptr FindAvailableMemoryRange(uptr size, uptr alignment, uptr left_padding) {
