SERVER-115832 disable fdebug-types-section on clang static builds (#45321)

GitOrigin-RevId: 5def3483c31d6ab972c6da5169a72c223dcee894
This commit is contained in:
Daniel Moody 2025-12-16 14:42:05 -06:00 committed by MongoDB Bot
parent 91576decbe
commit 4c3aa08d00
1 changed files with 1 additions and 1 deletions

View File

@ -1328,7 +1328,7 @@ def _impl(ctx):
debug_types_section_feature = feature( debug_types_section_feature = feature(
name = "debug_types_section", name = "debug_types_section",
enabled = (ctx.attr.compiler == COMPILERS.CLANG and ctx.attr.linkstatic) or (ctx.attr.compiler == COMPILERS.GCC and ctx.attr.linkstatic and ctx.attr.distro == "suse15"), enabled = ctx.attr.compiler == COMPILERS.GCC and ctx.attr.linkstatic and ctx.attr.distro == "suse15",
flag_sets = [ flag_sets = [
flag_set( flag_set(
actions = all_compile_actions, actions = all_compile_actions,