From 1df7b26e03f25272301cadbaf4bd9f55b67dd371 Mon Sep 17 00:00:00 2001 From: Tue Ly Date: Mon, 21 Jul 2025 21:06:19 +0000 Subject: [PATCH] [libc][bazel] Remove -fext-numeric-literals as it is only needed for gcc and not available in clang. --- utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl b/utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl index a7acd6159afac..41a706d2d92fb 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl +++ b/utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl @@ -62,8 +62,7 @@ def libc_test( name = name, local_defines = local_defines + LIBC_CONFIGURE_OPTIONS, deps = deps, - # For complex floating point literals. - copts = copts + libc_common_copts() + ["-fext-numeric-literals"], + copts = copts + libc_common_copts(), linkstatic = 1, **kwargs )