about summary refs log tree commit diff
path: root/src/libmain/shared.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-14T11·42+0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-14T11·42+0200
commit3872371f25acb9250d34554192196caee855fcb4 (patch)
tree207e39a7aa44aa7b0c0a79f4b60d5b40eccf3b3b /src/libmain/shared.cc
parent01dcdfcf336a127438b35b81751a783cde063ab8 (diff)
Minor cleanup
Diffstat (limited to 'src/libmain/shared.cc')
-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 9d506d019233..4747b9bf9b4c 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -159,7 +159,7 @@ struct LegacyArgs : public MixCommonArgs
             &(bool&) settings.keepGoing);
 
         mkFlag(0, "fallback", "build from source if substitution fails", []() {
-            settings.set("build-fallback", "true");
+            settings.tryFallback = true;
         });
 
         mkFlag1('j', "max-jobs", "jobs", "maximum number of parallel builds", [=](std::string s) {