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.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index e23b0d0a37..2b20745ee3 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3683,6 +3683,9 @@ fn test_linux(target: &str) {
// FIXME: requires Linux >= 5.7:
"MREMAP_DONTUNMAP" if musl => true,
+ // FIXME: requires Linux >= v5.8
+ "IF_LINK_MODE_TESTING" if musl || sparc64 => true,
+
// FIXME: Requires more recent kernel headers (5.9 / 5.11):
| "CLOSE_RANGE_UNSHARE"
| "CLOSE_RANGE_CLOEXEC" if musl => true,