diff options
Diffstat (limited to 'task.cc')
-rw-r--r-- | task.cc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -115,18 +115,18 @@ std::string Task::compiler() const case Language::C: switch(outputSystem()) { - case OutputSystem::Target: - return getConfiguration(cfg::target_cc, "/usr/bin/gcc"); - case OutputSystem::BuildHost: + case OutputSystem::Host: return getConfiguration(cfg::host_cc, "/usr/bin/gcc"); + case OutputSystem::Build: + return getConfiguration(cfg::build_cc, "/usr/bin/gcc"); } case Language::Cpp: switch(outputSystem()) { - case OutputSystem::Target: - return getConfiguration(cfg::target_cpp, "/usr/bin/g++"); - case OutputSystem::BuildHost: - return getConfiguration(cfg::host_cpp, "/usr/bin/g++"); + case OutputSystem::Host: + return getConfiguration(cfg::host_cxx, "/usr/bin/g++"); + case OutputSystem::Build: + return getConfiguration(cfg::build_cxx, "/usr/bin/g++"); } default: std::cerr << "Unknown CC target type\n"; |