Skip to content

Commit

Permalink
[libc] add errno_macro header to bazel build (llvm#92044)
Browse files Browse the repository at this point in the history
Patch llvm#91150 added a proxy header for errno macros. This patch fixes the
bazel build since it needs to be added as a dependency.
  • Loading branch information
michaelrj-google authored May 13, 2024
1 parent 4357712 commit 4c79d38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ libc_support_library(
hdrs = ["hdr/sys_epoll_macros.h"],
)

libc_support_library(
name = "hdr_errno_macros",
hdrs = ["hdr/errno_macros.h"],
)

############################ Type Proxy Header Files ###########################

libc_support_library(
Expand Down Expand Up @@ -1144,6 +1149,7 @@ libc_function(
":__support_common",
":__support_macros_attributes",
":__support_macros_properties_architectures",
":hdr_errno_macros",
],
)

Expand Down

0 comments on commit 4c79d38

Please sign in to comment.