diff --git a/mbedtls-sys/build/build.rs b/mbedtls-sys/build/build.rs index c102a401d..d6f6fee07 100644 --- a/mbedtls-sys/build/build.rs +++ b/mbedtls-sys/build/build.rs @@ -141,7 +141,6 @@ impl BuildConfig { cc.flag("-ffreestanding"); } cc - .flag_if_supported("-flto=thin") .file(&self.static_wrappers_c) .compile("libstatic-wrappers.a"); }