mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "[CMake] Explicitly disable LTO if no LTO option is provided (#85621)"
This reverts commit 51d2f2b61d.
This commit is contained in:
@@ -58,8 +58,6 @@ function(_compute_lto_flag option out_var)
|
||||
set(${out_var} "-flto=full" PARENT_SCOPE)
|
||||
elseif (lowercase_option STREQUAL "thin")
|
||||
set(${out_var} "-flto=thin" PARENT_SCOPE)
|
||||
else()
|
||||
set(${out_var} "-fno-lto" PARENT_SCOPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user