diff --git a/libc-test/build.rs b/libc-test/build.rs index b199d1cfbc370..5087906486002 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -1860,6 +1860,7 @@ fn test_linux(target: &str) { let x32 = target.contains("x32"); let mips = target.contains("mips"); let mips32_musl = mips && !target.contains("64") && musl; + let sparc64 = target.contains("sparc64"); let mut cfg = ctest::TestGenerator::new(); cfg.define("_GNU_SOURCE", None); @@ -2193,6 +2194,10 @@ fn test_linux(target: &str) { // https://github.com/gnzlbg/ctest/issues/68 "lio_listio" if musl => true, + // FIXME: the glibc version used by the Sparc64 build jobs + // which use Debian 10.0 is too old. + "statx" if sparc64 => true, + _ => false, } });