aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 523c422768..f67fec795f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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;