CC: fix binary dupe with no -o

master
Layne Gustafson 2020-04-15 10:42:13 -04:00 committed by Andrew Kelley
parent 3fd38429e4
commit 480deacbab
1 changed files with 1 additions and 0 deletions

View File

@ -916,6 +916,7 @@ static int main0(int argc, char **argv) {
}
if (emit_bin_override_path == nullptr) {
emit_bin_override_path = "a.out";
enable_cache = CacheOptOn;
}
} else {
cmd = CmdBuild;