Skip to content

Commit

Permalink
Revert "[clang-repl] Enable native CPU detection by default"
Browse files Browse the repository at this point in the history
  • Loading branch information
weliveindetail committed Jan 23, 2024
1 parent d360963 commit c9a439e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clang/lib/Interpreter/Interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ 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
Expand Down

0 comments on commit c9a439e

Please sign in to comment.