mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace "-sdk=<path>" with "-sdk <path>" in tests.
Part of the migration to the new driver. Swift SVN r13027
This commit is contained in:
@@ -530,10 +530,10 @@ void CompilerInvocation::buildDWARFDebugFlags(std::string &Output,
|
||||
|
||||
// Inject the SDK path if it is missing.
|
||||
for (auto A : Args) {
|
||||
if (StringRef(A).startswith("-sdk="))
|
||||
if (StringRef(A).startswith("-sdk"))
|
||||
return;
|
||||
}
|
||||
OS << " -sdk=";
|
||||
OS << " -sdk ";
|
||||
PrintArg(OS, SDKPath.data(), false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user