summaryrefslogtreecommitdiff
path: root/src/task_cc.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-21 16:31:54 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-21 22:15:33 +0100
commita38c6682e4fb1f45aa1f37d10c2480aa517ea3bc (patch)
treed767d3f18eab231fdd0cff8fdd0c602869c42848 /src/task_cc.cc
parente4ccfe780f52cdb6c0764074effcd60235d33762 (diff)
Make sure libctor itself is built in the 'build' system and not 'host' system. Only detect tooling for the system/tools actually required in the tasks.
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r--src/task_cc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc
index 5c4adfb..294c5ea 100644
--- a/src/task_cc.cc
+++ b/src/task_cc.cc
@@ -30,6 +30,7 @@ TaskCC::TaskCC(const ctor::build_configuration& config, const ctor::settings& se
base += sourceFile.stem();
target_type = ctor::target_type::object;
+ output_system = config.system;
source_language = source.language;
if(source_language == ctor::language::automatic)
{