at master 646 B view raw
1Specifying `-platform_version` targeting macos before 10.15 causes cctools ld 2to link with `@rpath`. This may have something to do with Swift ABI stability. 3 4--- a/products/llbuildSwift/CMakeLists.txt 5+++ b/products/llbuildSwift/CMakeLists.txt 6@@ -22,7 +17,7 @@ endif() 7 8 # TODO(compnerd) move both of these outside of the CMake into the invocation 9 if(CMAKE_SYSTEM_NAME STREQUAL Darwin) 10- add_compile_options(-target ${CMAKE_OSX_ARCHITECTURES}-apple-macosx10.10) 11+ add_compile_options(-target ${CMAKE_OSX_ARCHITECTURES}-apple-macosx10.15) 12 if(NOT CMAKE_OSX_SYSROOT STREQUAL "") 13 add_compile_options(-sdk ${CMAKE_OSX_SYSROOT}) 14 endif()