Skip to content

Commit d6783c7

Browse files
Revert "[libc][bazel] Add copts to libc_support_library" (llvm#73723)
Reverts llvm#73591 Broke downstream builds. I will look into relanding tomorrow.
1 parent 57a0416 commit d6783c7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ def _libc_library(name, hidden, copts = [], deps = [], **kwargs):
4747
# A convenience function which should be used to list all libc support libraries.
4848
# Any library which does not define a public function should be listed with
4949
# libc_support_library.
50-
def libc_support_library(name, copts = None, **kwargs):
51-
copts = copts or []
52-
copts = copts + ["-O3", "-fno-builtin", "-fno-lax-vector-conversions"]
53-
_libc_library(name = name, copts = copts, hidden = False, **kwargs)
50+
def libc_support_library(name, **kwargs):
51+
_libc_library(name = name, hidden = False, **kwargs)
5452

5553
def libc_function(
5654
name,

0 commit comments

Comments
 (0)