this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update add_darling_executable to reference crt1.10.6

Adding in crt.c object file breaks the bash executable, luckly it is not need for later versions (10.5 or later) of macOS. So we can just not include it.

Thomas A fcc3d8c7 58fba5a7

+2 -2
+2 -2
cmake/darling_exe.cmake
··· 12 12 13 13 add_executable(${exe} ${files}) 14 14 set_property(TARGET ${exe} APPEND_STRING PROPERTY 15 - LINK_FLAGS " ${CMAKE_EXE_LINKER_FLAGS} -nostdlib ${CMAKE_BINARY_DIR}/src/external/csu/CMakeFiles/csu.dir/crt1.10.6.o ") 15 + LINK_FLAGS " ${CMAKE_EXE_LINKER_FLAGS} -nostdlib ${CMAKE_BINARY_DIR}/src/external/csu/CMakeFiles/crt1.10.6.dir/start.S.o ") 16 16 17 17 if (BUILD_TARGET_64BIT) 18 18 target_compile_options(${exe} PRIVATE -arch ${APPLE_ARCH_64BIT}) ··· 24 24 25 25 use_ld64(${exe}) 26 26 target_link_libraries(${exe} system) 27 - add_dependencies(${exe} csu) 27 + add_dependencies(${exe} crt1.10.6) 28 28 29 29 if ((NOT NO_DSYM) AND (NOT ${exe}_NO_DSYM)) 30 30 dsym(${exe})