summaryrefslogtreecommitdiff
path: root/src/bootstrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap.cc')
-rw-r--r--src/bootstrap.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap.cc b/src/bootstrap.cc
index 1fb3807..f091849 100644
--- a/src/bootstrap.cc
+++ b/src/bootstrap.cc
@@ -35,13 +35,13 @@ bool ctor::configuration::has(const std::string& key) const
const std::string& ctor::configuration::get(const std::string& key, const std::string& default_value) const
{
- if(key == cfg::host_cxx && std::getenv("CXX"))
+ if(key == ctor::cfg::host_cxx && std::getenv("CXX"))
{
static std::string s = std::getenv("CXX");
return s;
}
- if(key == cfg::builddir && std::getenv("BUILDDIR"))
+ if(key == ctor::cfg::builddir && std::getenv("BUILDDIR"))
{
static std::string s = std::getenv("BUILDDIR");
return s;
@@ -62,7 +62,7 @@ int main(int argc, char* argv[])
ctor::settings settings{};
const auto& c = ctor::get_configuration();
- settings.builddir = c.get(cfg::builddir, settings.builddir);
+ settings.builddir = c.get(ctor::cfg::builddir, settings.builddir);
settings.parallel_processes =
std::max(1u, std::thread::hardware_concurrency() * 2 - 1);
settings.verbose = 0;