CC: fix binary dupe with no -o

This commit is contained in:
Layne Gustafson 2020-04-15 10:42:13 -04:00 committed by Andrew Kelley
parent 3fd38429e4
commit 480deacbab

View File

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