summaryrefslogtreecommitdiff
path: root/src/task.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:02:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:02:52 +0100
commit35e368cee986bcf91a472170f97e79f76065366d (patch)
treec39ab8beb632ec02b74c8f6908c23985216946f4 /src/task.cc
parent10dc0902c22ae931fe51c36ea8fc6d2453819477 (diff)
Rename OutputSystem::Xyz to output_system::xyz
Diffstat (limited to 'src/task.cc')
-rw-r--r--src/task.cc10
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: