Skip to content

Commit 3b423e9

Browse files
committed
[cmake] Print out a message when configuring that states whether or not LTO is enabled.
1 parent 2573782 commit 3b423e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ endforeach()
626626
message(STATUS "Building host Swift tools for ${SWIFT_HOST_VARIANT_SDK} ${SWIFT_HOST_VARIANT_ARCH}")
627627
message(STATUS " Build type: ${CMAKE_BUILD_TYPE}")
628628
message(STATUS " Assertions: ${LLVM_ENABLE_ASSERTIONS}")
629+
message(STATUS " LTO: ${SWIFT_ENABLE_LTO}")
629630
message(STATUS "")
630631

631632
message(STATUS "Building Swift standard library and SDK overlays for SDKs: ${SWIFT_SDKS}")

0 commit comments

Comments
 (0)