Skip to content

Commit

Permalink
Merge pull request #1037 from nkcsgexi/suppress-warning-prebuilt-module
Browse files Browse the repository at this point in the history
PrebuiltModuleGen: suppress warnings when building prebuilt modules
  • Loading branch information
nkcsgexi authored Mar 22, 2022
2 parents 5b0a78e + 54ad5fd commit f84b001
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SwiftDriver/Jobs/PrebuiltModulesJob.swift
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ extension Driver {
if moduleName == "Swift" {
commandLine.appendFlag(.parseStdlib)
}
commandLine.appendFlag(.suppressWarnings)
// Add macabi-specific search path.
if try isIosMacInterface(inputPath.path.file) {
commandLine.appendFlag(.Fsystem)
Expand Down

0 comments on commit f84b001

Please sign in to comment.