summaryrefslogtreecommitdiff
path: root/src/task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.cc')
-rw-r--r--src/task.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/task.cc b/src/task.cc
index 27e6c44..817ee3a 100644
--- a/src/task.cc
+++ b/src/task.cc
@@ -6,8 +6,6 @@
#include <unistd.h>
#include <iostream>
-using namespace ctor;
-
Task::Task(const ctor::build_configuration& config, const ctor::settings& settings,
const std::string& sourceDir)
: config(config)
@@ -138,17 +136,17 @@ std::string Task::compiler() const
switch(outputSystem())
{
case ctor::output_system::host:
- return c.get(cfg::host_cc, "/usr/bin/gcc");
+ return c.get(ctor::cfg::host_cc, "/usr/bin/gcc");
case ctor::output_system::build:
- return c.get(cfg::build_cc, "/usr/bin/gcc");
+ return c.get(ctor::cfg::build_cc, "/usr/bin/gcc");
}
case ctor::language::cpp:
switch(outputSystem())
{
case ctor::output_system::host:
- return c.get(cfg::host_cxx, "/usr/bin/g++");
+ return c.get(ctor::cfg::host_cxx, "/usr/bin/g++");
case ctor::output_system::build:
- return c.get(cfg::build_cxx, "/usr/bin/g++");
+ return c.get(ctor::cfg::build_cxx, "/usr/bin/g++");
}
default:
std::cerr << "Unknown CC target type\n";