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 400accb commit b5252ebCopy full SHA for b5252eb
stdlib/cmake/modules/SwiftSource.cmake
@@ -244,7 +244,7 @@ function(_add_target_variant_swift_compile_flags
244
"-F${SWIFT_SDK_${sdk}_ARCH_${arch}_PATH}/../../../Developer/Library/Frameworks")
245
endif()
246
247
- swift_optimize_flag_for_build_type("${CMAKE_BUILD_TYPE}" optimize_flag)
+ swift_optimize_flag_for_build_type("${build_type}" optimize_flag)
248
list(APPEND result "${optimize_flag}")
249
250
is_build_type_with_debuginfo("${build_type}" debuginfo)
0 commit comments