summaryrefslogtreecommitdiff
path: root/libc-test/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc-test/build.rs')
-rw-r--r--libc-test/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 6cb00172d4..98c802e338 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3734,6 +3734,10 @@ fn test_linux(target: &str) {
// FIXME: the glibc version used by the Sparc64 build jobs
// which use Debian 10.0 is too old.
"statx" if sparc64 => true,
+ // Needs glibc 2.34 or later.
+ "posix_spawn_file_actions_addclosefrom_np" if gnu && sparc64 => true,
+ // Needs glibc 2.35 or later.
+ "posix_spawn_file_actions_addtcsetpgrp_np" if gnu && sparc64 => true,
// FIXME: Deprecated since glibc 2.30. Remove fn once upstream does.
"sysctl" if gnu => true,