Skip to content

Commit

Permalink
Revert "[libc][bazel] Add copts to libc_support_library" (#73723)
Browse files Browse the repository at this point in the history
Reverts #73591

Broke downstream builds. I will look into relanding tomorrow.
  • Loading branch information
michaelrj-google authored Nov 29, 2023
1 parent 57a0416 commit d6783c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ def _libc_library(name, hidden, copts = [], deps = [], **kwargs):
# A convenience function which should be used to list all libc support libraries.
# Any library which does not define a public function should be listed with
# libc_support_library.
def libc_support_library(name, copts = None, **kwargs):
copts = copts or []
copts = copts + ["-O3", "-fno-builtin", "-fno-lax-vector-conversions"]
_libc_library(name = name, copts = copts, hidden = False, **kwargs)
def libc_support_library(name, **kwargs):
_libc_library(name = name, hidden = False, **kwargs)

def libc_function(
name,
Expand Down

0 comments on commit d6783c7

Please sign in to comment.