From 4c3aa08d00a8a3ded0a9fff20a7ebb09d5931412 Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Tue, 16 Dec 2025 14:42:05 -0600 Subject: [PATCH] SERVER-115832 disable fdebug-types-section on clang static builds (#45321) GitOrigin-RevId: 5def3483c31d6ab972c6da5169a72c223dcee894 --- .../cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/toolchains/cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl b/bazel/toolchains/cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl index 355ced80644..172ea8be251 100644 --- a/bazel/toolchains/cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl +++ b/bazel/toolchains/cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl @@ -1328,7 +1328,7 @@ def _impl(ctx): debug_types_section_feature = feature( 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_set( actions = all_compile_actions,