================ @@ -314,6 +308,11 @@ function(add_link_opts target_name) set_property(TARGET ${target_name} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-brtl") endif() + + if (NOT MINGW) + llvm_check_linker_flag(CXX "-Wl,-Bsymbolic-functions" + LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS) + endif() ---------------- mati865 wrote:
This `if` is unnecessary thanks to this PR. https://github.com/llvm/llvm-project/pull/79539 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits