We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62eab29 commit e80b188Copy full SHA for e80b188
cmake/modules/AddSwift.cmake
@@ -121,6 +121,7 @@ function(_add_host_variant_c_compile_link_flags name)
121
_compute_lto_flag("${SWIFT_TOOLS_ENABLE_LTO}" _lto_flag_out)
122
if (_lto_flag_out)
123
target_compile_options(${name} PRIVATE ${_lto_flag_out})
124
+ target_link_options(${name} PRIVATE ${_lto_flag_out})
125
endif()
126
endfunction()
127
0 commit comments