File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -505,24 +505,6 @@ function(add_swift_host_library name)
505505 endif ()
506506
507507 if (${SWIFT_HOST_VARIANT_SDK} IN_LIST SWIFT_APPLE_PLATFORMS)
508- # Include LLVM Bitcode slices for iOS, Watch OS, and Apple TV OS device libraries.
509- if (SWIFT_EMBED_BITCODE_SECTION)
510- target_compile_options (${name} PRIVATE
511- -fembed-bitcode)
512- target_link_options (${name} PRIVATE
513- "LINKER:-bitcode_bundle"
514- "LINKER:-lto_library,${LLVM_LIBRARY_DIR} /libLTO.dylib" )
515-
516- # Please note that using a generator expression to fit this in a single
517- # target_link_options does not work (at least in CMake 3.15 and 3.16),
518- # since that seems not to allow the LINKER: prefix to be evaluated (i.e.
519- # it will be added as-is to the linker parameters)
520- if (SWIFT_EMBED_BITCODE_SECTION_HIDE_SYMBOLS)
521- target_link_options (${name} PRIVATE
522- "LINKER:-bitcode_hide_symbols" )
523- endif ()
524- endif ()
525-
526508 target_link_options (${name} PRIVATE
527509 "LINKER:-compatibility_version,1" )
528510 if (SWIFT_COMPILER_VERSION)
You can’t perform that action at this time.
0 commit comments