Skip to content

Commit 4c79d38

Browse files
[libc] add errno_macro header to bazel build (llvm#92044)
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.
1 parent 4357712 commit 4c79d38

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ libc_support_library(
117117
hdrs = ["hdr/sys_epoll_macros.h"],
118118
)
119119

120+
libc_support_library(
121+
name = "hdr_errno_macros",
122+
hdrs = ["hdr/errno_macros.h"],
123+
)
124+
120125
############################ Type Proxy Header Files ###########################
121126

122127
libc_support_library(
@@ -1144,6 +1149,7 @@ libc_function(
11441149
":__support_common",
11451150
":__support_macros_attributes",
11461151
":__support_macros_properties_architectures",
1152+
":hdr_errno_macros",
11471153
],
11481154
)
11491155

0 commit comments

Comments
 (0)