diff --git a/library/unwind/build.rs b/library/unwind/build.rs index ab09a6e324d8b..60a9895eb53cd 100644 --- a/library/unwind/build.rs +++ b/library/unwind/build.rs @@ -116,8 +116,6 @@ mod llvm_libunwind { cfg.flag("-fstrict-aliasing"); cfg.flag("-funwind-tables"); cfg.flag("-fvisibility=hidden"); - cfg.flag_if_supported("-fvisibility-global-new-delete-hidden"); - cfg.define("_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS", None); } let mut unwind_sources = vec![