diff options
Diffstat (limited to 'src/task.cc')
-rw-r--r-- | src/task.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/task.cc b/src/task.cc index eba365f..4a55d00 100644 --- a/src/task.cc +++ b/src/task.cc @@ -124,7 +124,7 @@ ctor::language Task::sourceLanguage() const return source_language; } -OutputSystem Task::outputSystem() const +ctor::output_system Task::outputSystem() const { return output_system; } @@ -136,17 +136,17 @@ std::string Task::compiler() const case ctor::language::c: switch(outputSystem()) { - case OutputSystem::Host: + case ctor::output_system::host: return getConfiguration(cfg::host_cc, "/usr/bin/gcc"); - case OutputSystem::Build: + case ctor::output_system::build: return getConfiguration(cfg::build_cc, "/usr/bin/gcc"); } case ctor::language::cpp: switch(outputSystem()) { - case OutputSystem::Host: + case ctor::output_system::host: return getConfiguration(cfg::host_cxx, "/usr/bin/g++"); - case OutputSystem::Build: + case ctor::output_system::build: return getConfiguration(cfg::build_cxx, "/usr/bin/g++"); } default: |