Skip to content

Commit 6a7abea

Browse files
Revert "[clang-repl] Enable native CPU detection by default (#77491)" (#79178)
Reverting because `clang-repl -Xcc -mcpu=arm1176jzf-s` isn't overwriting this as I had expected. We need to check whether a specific CPU flag was given by the user first. Reverts #77491
1 parent edeaf41 commit 6a7abea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Interpreter/Interpreter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ IncrementalCompilerBuilder::create(std::vector<const char *> &ClangArgv) {
148148
// We do C++ by default; append right after argv[0] if no "-x" given
149149
ClangArgv.insert(ClangArgv.end(), "-Xclang");
150150
ClangArgv.insert(ClangArgv.end(), "-fincremental-extensions");
151-
ClangArgv.insert(ClangArgv.end(), "-mcpu=native");
152151
ClangArgv.insert(ClangArgv.end(), "-c");
153152

154153
// Put a dummy C++ file on to ensure there's at least one compile job for the

0 commit comments

Comments
 (0)