1 Disable codesign for macosx cross-compile toolchain. Codesign only works on OSX.
3 Index: cmake/Modules/AddCompilerRT.cmake
4 ===================================================================
5 --- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake (revision 342374)
6 +++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake (working copy)
8 set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
9 set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")
12 - # Ad-hoc sign the dylibs
13 - add_custom_command(TARGET ${libname}
15 - COMMAND codesign --sign - $<TARGET_FILE:${libname}>
16 - WORKING_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}
20 install(TARGETS ${libname}
21 ARCHIVE DESTINATION ${install_dir_${libname}}