Skip to content

Commit edc877d

Browse files
[ABIChecking] swift-api-digester doesn't support -isystem
swift-api-digester doesn't support the -isystem clang flag like it does the -iframework one. Use -I for now. rdar://153664788
1 parent d2236ee commit edc877d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Jobs/APIDigesterJobs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ extension Driver {
195195

196196
try commandLine.appendAll(.I, from: &parsedOptions)
197197
for systemImport in parsedOptions.arguments(for: .Isystem) {
198-
commandLine.appendFlag("-isystem")
198+
commandLine.appendFlag(.I)
199199
commandLine.appendFlag(systemImport.argument.asSingle)
200200
}
201201
try commandLine.appendAll(.F, from: &parsedOptions)

0 commit comments

Comments
 (0)