[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
|
set(TARGET_PUBLIC_HEADERS
|
||||||
libc.include.assert_h
|
libc.include.assert
|
||||||
libc.include.ctype
|
libc.include.ctype
|
||||||
libc.include.errno
|
libc.include.errno
|
||||||
libc.include.fenv
|
libc.include.fenv
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
set(TARGET_PUBLIC_HEADERS
|
set(TARGET_PUBLIC_HEADERS
|
||||||
libc.include.assert_h
|
libc.include.assert
|
||||||
libc.include.ctype
|
libc.include.ctype
|
||||||
libc.include.dirent
|
libc.include.dirent
|
||||||
libc.include.errno
|
libc.include.errno
|
||||||
|
|
|
@ -69,7 +69,7 @@ add_gen_header(
|
||||||
)
|
)
|
||||||
|
|
||||||
add_gen_header(
|
add_gen_header(
|
||||||
assert_h
|
assert
|
||||||
DEF_FILE assert.h.def
|
DEF_FILE assert.h.def
|
||||||
GEN_HDR assert.h
|
GEN_HDR assert.h
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
|
|
@ -6,6 +6,7 @@ add_entrypoint_object(
|
||||||
__assert_fail.h
|
__assert_fail.h
|
||||||
assert.h
|
assert.h
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
libc.include.assert
|
||||||
libc.src.__support.OSUtil.osutil
|
libc.src.__support.OSUtil.osutil
|
||||||
libc.src.stdlib.abort
|
libc.src.stdlib.abort
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,6 +5,7 @@ add_entrypoint_object(
|
||||||
HDRS
|
HDRS
|
||||||
isalnum.h
|
isalnum.h
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
libc.include.ctype
|
||||||
libc.src.__support.ctype_utils
|
libc.src.__support.ctype_utils
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue