File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,6 @@ option(SWIFT_STDLIB_ASSERTIONS
105
105
option (SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER
106
106
"Use the host compiler and not the internal clang to build the swift runtime"
107
107
FALSE )
108
- option (SWIFT_BUILD_RUNTIME_WITH_HOST_LIBLTO
109
- "Use the host liblto and not the internal liblto to build the swift runtime"
110
- FALSE )
111
108
112
109
set (SWIFT_ANALYZE_CODE_COVERAGE FALSE CACHE STRING
113
110
"Build Swift with code coverage instrumenting enabled [FALSE, NOT-MERGED, MERGED]" )
Original file line number Diff line number Diff line change @@ -578,10 +578,7 @@ function(_add_swift_library_single target name)
578
578
if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "IOS" OR "${SWIFTLIB_SINGLE_SDK} " STREQUAL "TVOS" OR "${SWIFTLIB_SINGLE_SDK} " STREQUAL "WATCHOS" )
579
579
list (APPEND SWIFTLIB_SINGLE_C_COMPILE_FLAGS "-fembed-bitcode" )
580
580
list (APPEND SWIFTLIB_SINGLE_SWIFT_COMPILE_FLAGS "-embed-bitcode" )
581
- list (APPEND SWIFTLIB_SINGLE_LINK_FLAGS "-Xlinker" "-bitcode_bundle" "-Xlinker" "-bitcode_hide_symbols" )
582
- if (NOT SWIFT_BUILD_RUNTIME_WITH_HOST_LIBLTO )
583
- list (APPEND SWIFTLIB_SINGLE_LINK_FLAGS "-Xlinker" "-lto_library" "-Xlinker" "${LLVM_LIBRARY_DIR} /libLTO.dylib" )
584
- endif ()
581
+ list (APPEND SWIFTLIB_SINGLE_LINK_FLAGS "-Xlinker" "-bitcode_bundle" "-Xlinker" "-bitcode_hide_symbols" "-Xlinker" "-lto_library" "-Xlinker" "${LLVM_LIBRARY_DIR} /libLTO.dylib" )
585
582
endif ()
586
583
endif ()
587
584
You can’t perform that action at this time.
0 commit comments