brintos

brintos / llvm-project-archived public Read only

0
0
Text · 483 B · aa59d84 Raw
19 lines · plain
1if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})2  add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})3else()4  add_subdirectory(generic)5endif()6 7if(TARGET libc.src.compiler.${LIBC_TARGET_OS}.__stack_chk_fail)8  set(stack_chk_fail_dep libc.src.compiler.${LIBC_TARGET_OS}.__stack_chk_fail)9else()10  set(stack_chk_fail_dep libc.src.compiler.generic.__stack_chk_fail)11endif()12 13add_entrypoint_object(14  __stack_chk_fail15  ALIAS16  DEPENDS17    ${stack_chk_fail_dep}18)19