summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-05-14 12:16:00 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-05-16 09:15:11 +0200
commit3956bf056befd69f4790cc447500278a93f15840 (patch)
treefb8ed1e264137f9b745f72e82ba89fcc11a36687 /libc-test
parent18bf94c6eb41991fb96990439873debed67265fd (diff)
downloadrust-libc-3956bf056befd69f4790cc447500278a93f15840.tar.gz
Skip verification of gettimeofday on FreeBSD
Diffstat (limited to 'libc-test')
-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 567fa97561..311a0f9957 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1813,6 +1813,9 @@ fn test_freebsd(target: &str) {
"execvpe" |
"fexecve" => true,
+ // FIXME: for some reason, our signature is wrong
+ "gettimeofday" => true,
+
// The `uname` function in freebsd is now an inline wrapper that
// delegates to another, but the symbol still exists, so don't check
// the symbol.