diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Interpreter/Interpreter.cpp')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Interpreter/Interpreter.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Interpreter/Interpreter.cpp b/contrib/llvm-project/clang/lib/Interpreter/Interpreter.cpp index c9fcef5b5b5a..734fe90d0d89 100644 --- a/contrib/llvm-project/clang/lib/Interpreter/Interpreter.cpp +++ b/contrib/llvm-project/clang/lib/Interpreter/Interpreter.cpp @@ -148,6 +148,7 @@ IncrementalCompilerBuilder::create(std::vector<const char *> &ClangArgv) {    // We do C++ by default; append right after argv[0] if no "-x" given    ClangArgv.insert(ClangArgv.end(), "-Xclang");    ClangArgv.insert(ClangArgv.end(), "-fincremental-extensions"); +  ClangArgv.insert(ClangArgv.end(), "-mcpu=native");    ClangArgv.insert(ClangArgv.end(), "-c");    // Put a dummy C++ file on to ensure there's at least one compile job for the  | 
