Skip to content

Commit 60ededb

Browse files
committed
[Backtracing] Accumulate lipo inputs per-sdk.
`THIN_INPUT_TARGETS` needed to be reset per-sdk, not just once. rdar://105390807
1 parent 2015c8a commit 60ededb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,9 +2700,9 @@ function(add_swift_target_executable name)
27002700
# All Swift executables depend on the swiftSwiftOnoneSupport library.
27012701
list(APPEND SWIFTEXE_TARGET_SWIFT_MODULE_DEPENDS SwiftOnoneSupport)
27022702

2703-
set(THIN_INPUT_TARGETS)
2704-
27052703
foreach(sdk ${SWIFT_SDKS})
2704+
set(THIN_INPUT_TARGETS)
2705+
27062706
# Collect architecture agnostic SDK module dependencies
27072707
set(swiftexe_module_depends_flattened ${SWIFTEXE_TARGET_SWIFT_MODULE_DEPENDS})
27082708
if(${sdk} STREQUAL OSX)

0 commit comments

Comments
 (0)