Skip to content

Commit ceffbf0

Browse files
committed
Only add targets if the full build flag is on.
1 parent 45e8a54 commit ceffbf0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

libc/config/darwin/aarch64/entrypoints.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ set(TARGET_LIBC_ENTRYPOINTS
2020
# errno.h entrypoints
2121
libc.src.errno.errno
2222

23-
# setjmp.h entrypoints
24-
libc.src.setjmp.longjmp
25-
libc.src.setjmp.setjmp
26-
libc.src.setjmp.siglongjmp
27-
libc.src.setjmp.sigsetjmp
2823

2924

3025
# string.h entrypoints
@@ -108,6 +103,17 @@ set(TARGET_LIBC_ENTRYPOINTS
108103
libc.src.stdlib.free
109104
)
110105

106+
if(LLVM_LIBC_FULL_BUILD)
107+
list(APPEND TARGET_LIBC_ENTRYPOINTS
108+
# setjmp.h entrypoints
109+
libc.src.setjmp.longjmp
110+
libc.src.setjmp.setjmp
111+
libc.src.setjmp.siglongjmp
112+
libc.src.setjmp.sigsetjmp
113+
)
114+
endif()
115+
116+
111117
set(TARGET_LIBM_ENTRYPOINTS
112118
# complex.h entrypoints
113119
libc.src.complex.creal

0 commit comments

Comments
 (0)