File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -339,11 +339,12 @@ extension LLBuildManifestBuilder {
339339 private func addModuleWrapCmd( _ target: SwiftTargetBuildDescription ) {
340340 // Add commands to perform the module wrapping Swift modules when debugging statergy is `modulewrap`.
341341 guard buildParameters. debuggingStrategy == . modulewrap else { return }
342- let moduleWrapArgs = [
342+ var moduleWrapArgs = [
343343 target. buildParameters. toolchain. swiftCompiler. pathString,
344344 " -modulewrap " , target. moduleOutputPath. pathString,
345345 " -o " , target. wrappedModuleOutputPath. pathString
346346 ]
347+ moduleWrapArgs += buildParameters. targetTripleArgs ( for: target. target)
347348 manifest. addShellCmd (
348349 name: target. wrappedModuleOutputPath. pathString,
349350 description: " Wrapping AST for \( target. target. name) for debugging " ,
You can’t perform that action at this time.
0 commit comments