mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: ensure -disable-clang-spi flag to propagate to module interface builders
This commit is contained in:
@@ -1493,6 +1493,11 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
}
|
||||
}
|
||||
|
||||
subClangImporterOpts.EnableClangSPI = clangImporterOpts.EnableClangSPI;
|
||||
if (!subClangImporterOpts.EnableClangSPI) {
|
||||
GenericArgs.push_back("-disable-clang-spi");
|
||||
}
|
||||
|
||||
// Tell the genericSubInvocation to serialize dependency hashes if asked to do
|
||||
// so.
|
||||
auto &frontendOpts = genericSubInvocation.getFrontendOptions();
|
||||
|
||||
Reference in New Issue
Block a user