diff --git a/libc-test/build.rs b/libc-test/build.rs
index 7606800afb9cd56b70d8d0f672cc3e0558255677..5edbdf5b73893ece5b73435cd0f749b194ac3972 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -658,7 +658,7 @@ fn main() {
             // MFD_HUGETLB is not available in some older libc versions on the CI builders. On the
             // x86_64 and i686 builders it seems to be available for all targets, so at least test
             // it there.
-            "MFD_HUGETLB" if !(x86_64 || i686) || musl => true,
+            "MFD_HUGETLB" if !(x86_64 || i686) || musl || (x86_64 && android)=> true,
 
             "DT_FIFO" | "DT_CHR" | "DT_DIR" | "DT_BLK" | "DT_REG"
             | "DT_LNK" | "DT_SOCK"