forked from OSchip/llvm-project
[libc] Fix assert.h and ctype.h not being built
The `assert.h` and `ctype.h` headers are never built despite their entrypoints being present in the generated library. This patch adds a dependency on these headers so that they will be built properly. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D138142
This commit is contained in:
parent
cf4f35b788
commit
dabb7514f5
|
@ -1,5 +1,5 @@
|
|||
set(TARGET_PUBLIC_HEADERS
|
||||
libc.include.assert_h
|
||||
libc.include.assert
|
||||
libc.include.ctype
|
||||
libc.include.errno
|
||||
libc.include.fenv
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
set(TARGET_PUBLIC_HEADERS
|
||||
libc.include.assert_h
|
||||
libc.include.assert
|
||||
libc.include.ctype
|
||||
libc.include.dirent
|
||||
libc.include.errno
|
||||
|
|
|
@ -69,7 +69,7 @@ add_gen_header(
|
|||
)
|
||||
|
||||
add_gen_header(
|
||||
assert_h
|
||||
assert
|
||||
DEF_FILE assert.h.def
|
||||
GEN_HDR assert.h
|
||||
DEPENDS
|
||||
|
|
|
@ -6,6 +6,7 @@ add_entrypoint_object(
|
|||
__assert_fail.h
|
||||
assert.h
|
||||
DEPENDS
|
||||
libc.include.assert
|
||||
libc.src.__support.OSUtil.osutil
|
||||
libc.src.stdlib.abort
|
||||
)
|
||||
|
|
|
@ -5,6 +5,7 @@ add_entrypoint_object(
|
|||
HDRS
|
||||
isalnum.h
|
||||
DEPENDS
|
||||
libc.include.ctype
|
||||
libc.src.__support.ctype_utils
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue