diff --git a/libc-test/build.rs b/libc-test/build.rs
index 696b60be94ea40c8c16c9ceb575401a5faf05001..4ff6b3a503f38cc12cac28a7f0fef8e4542b0008 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1572,12 +1572,9 @@ fn test_freebsd(target: &str) {
     let x86 = target.contains("i686") || target.contains("x86_64");
 
     let mut cfg = ctest::TestGenerator::new();
-    // FIXME: still necessary?
+    // Required for `getline`:
     cfg.define("_WITH_GETLINE", None);
 
-    // FIXME: still necessary?
-    cfg.flag("-Wno-deprecated-declarations");
-
     headers! { cfg:
                 "aio.h",
                 "arpa/inet.h",