diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-06-15 16:34:06 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-06-15 16:34:06 +0200 |
commit | 34fa8ce9179b17cc4cd13ae49b69fccf393271a0 (patch) | |
tree | eefbabf6d804f731f65eee424c5f10c2bacd746d /src/libmain/shared.cc | |
parent | 7ce60a81ba30f681d3913b7c42cdfbcfca902492 (diff) |
nix: Support -j flag
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r-- | src/libmain/shared.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 4ed34e54d..cd752f467 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -175,10 +175,6 @@ LegacyArgs::LegacyArgs(const std::string & programName, .description("build from source if substitution fails") .set(&(bool&) settings.tryFallback, true); - mkFlag1('j', "max-jobs", "jobs", "maximum number of parallel builds", [=](std::string s) { - settings.set("max-jobs", s); - }); - auto intSettingAlias = [&](char shortName, const std::string & longName, const std::string & description, const std::string & dest) { mkFlag<unsigned int>(shortName, longName, description, [=](unsigned int n) { |