mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix the command-line option from depscanner after caching option rename
This commit is contained in:
@@ -1604,7 +1604,7 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
if (clangImporterOpts.CASOpts) {
|
||||
genericSubInvocation.getClangImporterOptions().CASOpts =
|
||||
clangImporterOpts.CASOpts;
|
||||
GenericArgs.push_back("-enable-cas");
|
||||
GenericArgs.push_back("-cache-compile-job");
|
||||
if (!clangImporterOpts.CASOpts->CASPath.empty()) {
|
||||
GenericArgs.push_back("-cas-path");
|
||||
GenericArgs.push_back(clangImporterOpts.CASOpts->CASPath);
|
||||
|
||||
Reference in New Issue
Block a user