Skip to content

Commit ea06145

Browse files
authored
Merge pull request #241 from owenv/compile-flags
Add missing flags to compile jobs
2 parents ce675e4 + 869947d commit ea06145

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SwiftDriver/Jobs/CompileJob.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ extension Driver {
204204
commandLine.appendFlag(.debugInfoStoreInvocation)
205205
}
206206

207+
try commandLine.appendLast(.trackSystemDependencies, from: &parsedOptions)
208+
try commandLine.appendLast(.CrossModuleOptimization, from: &parsedOptions)
207209
try commandLine.appendLast(.disableAutolinkingRuntimeCompatibility, from: &parsedOptions)
208210
try commandLine.appendLast(.runtimeCompatibilityVersion, from: &parsedOptions)
209211
try commandLine.appendLast(.disableAutolinkingRuntimeCompatibilityDynamicReplacements, from: &parsedOptions)

0 commit comments

Comments
 (0)