aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 28a14a2970..0c97cf33f4 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -390,6 +390,8 @@ void Clang::AddPreprocessingOptions(const Driver &D,
CmdArgs.push_back("-fmodule-cache-path");
CmdArgs.push_back(Args.MakeArgString(DefaultModuleCache));
}
+
+ Args.AddAllArgs(CmdArgs, options::OPT_fauto_module_import);
}
/// getARMTargetCPU - Get the (LLVM) name of the ARM cpu we are targeting.