aboutsummaryrefslogtreecommitdiff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-31 17:56:02 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-31 17:56:02 -0400
commit89a8207029e7f6d5cfe3ab972c49ea46f5b9a784 (patch)
treef924e15d0fc6ec21a1f26376e6ca95141b08d9ba /src/libmain
parent97421eb5ecde86b75441094fda017b12b5eca2a6 (diff)
Add an option ‘build-fallback’ (equivalent to the --fallback flag)
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 9c62e320f..e1280911b 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -191,7 +191,7 @@ static void initAndRun(int argc, char * * argv)
else if (arg == "--keep-going" || arg == "-k")
settings.keepGoing = true;
else if (arg == "--fallback")
- settings.tryFallback = true;
+ settings.set("build-fallback", "true");
else if (arg == "--max-jobs" || arg == "-j")
settings.set("build-max-jobs", getArg(arg, i, args.end()));
else if (arg == "--cores")