Skip to content

Commit 54ad5fd

Browse files
committed
PrebuiltModuleGen: suppress warnings when building prebuilt modules
1 parent 5b0a78e commit 54ad5fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftDriver/Jobs/PrebuiltModulesJob.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ extension Driver {
462462
if moduleName == "Swift" {
463463
commandLine.appendFlag(.parseStdlib)
464464
}
465+
commandLine.appendFlag(.suppressWarnings)
465466
// Add macabi-specific search path.
466467
if try isIosMacInterface(inputPath.path.file) {
467468
commandLine.appendFlag(.Fsystem)

0 commit comments

Comments
 (0)