File tree Expand file tree Collapse file tree 2 files changed +32
-29
lines changed Expand file tree Collapse file tree 2 files changed +32
-29
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,21 @@ add_entrypoint_object(
2626 .${LIBC_TARGET_ARCHITECTURE} .longjmp
2727)
2828
29- add_entrypoint_object(
30- siglongjmp
31- SRCS
32- siglongjmp.cpp
33- HDRS
34- siglongjmp.h
35- DEPENDS
36- .longjmp
37- )
29+ if (TARGET libc.src.setjmp.sigsetjmp_epilogue)
30+ add_entrypoint_object(
31+ siglongjmp
32+ SRCS
33+ siglongjmp.cpp
34+ HDRS
35+ siglongjmp.h
36+ DEPENDS
37+ .longjmp
38+ )
3839
39- add_entrypoint_object(
40- sigsetjmp
41- ALIAS
42- DEPENDS
43- .${LIBC_TARGET_ARCHITECTURE} .sigsetjmp
44- )
40+ add_entrypoint_object(
41+ sigsetjmp
42+ ALIAS
43+ DEPENDS
44+ .${LIBC_TARGET_ARCHITECTURE} .sigsetjmp
45+ )
46+ endif ()
Original file line number Diff line number Diff line change @@ -8,20 +8,21 @@ add_entrypoint_object(
88 libc.hdr.offsetof_macros
99 libc.hdr.types.jmp_buf
1010)
11-
12- add_entrypoint_object(
13- sigsetjmp
14- SRCS
15- sigsetjmp.cpp
16- HDRS
17- ../sigsetjmp.h
18- DEPENDS
19- libc.hdr.types.jmp_buf
20- libc.hdr.types.sigset_t
21- libc.hdr.offsetof_macros
22- libc.src.setjmp.sigsetjmp_epilogue
23- libc.src.setjmp.setjmp
24- )
11+ if (TARGET libc.src.setjmp.sigsetjmp_epilogue)
12+ add_entrypoint_object(
13+ sigsetjmp
14+ SRCS
15+ sigsetjmp.cpp
16+ HDRS
17+ ../sigsetjmp.h
18+ DEPENDS
19+ libc.hdr.types.jmp_buf
20+ libc.hdr.types.sigset_t
21+ libc.hdr.offsetof_macros
22+ libc.src.setjmp.sigsetjmp_epilogue
23+ libc.src.setjmp.setjmp
24+ )
25+ endif ()
2526
2627add_entrypoint_object(
2728 longjmp
You can’t perform that action at this time.
0 commit comments