diff --git a/aws-lc-sys/builder/cmake_builder.rs b/aws-lc-sys/builder/cmake_builder.rs index a5a789acdc2..feb4acf977d 100644 --- a/aws-lc-sys/builder/cmake_builder.rs +++ b/aws-lc-sys/builder/cmake_builder.rs @@ -176,6 +176,7 @@ impl CmakeBuilder { // If the build environment vendor is Apple #[cfg(target_vendor = "apple")] { + cmake_cfg.cflag("-Wno-overriding-t-option"); if target_arch() == "aarch64" { cmake_cfg.define("CMAKE_OSX_ARCHITECTURES", "arm64"); cmake_cfg.define("CMAKE_SYSTEM_PROCESSOR", "arm64");