diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 16:31:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 22:15:33 +0100 |
commit | a38c6682e4fb1f45aa1f37d10c2480aa517ea3bc (patch) | |
tree | d767d3f18eab231fdd0cff8fdd0c602869c42848 /src/ctor.h | |
parent | e4ccfe780f52cdb6c0764074effcd60235d33762 (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/ctor.h')
-rw-r--r-- | src/ctor.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -201,7 +201,7 @@ struct build_configuration { std::string name; // Name - used for referring in other configurations. ctor::target_type type{ctor::target_type::automatic}; - ctor::output_system system{ctor::output_system::host}; + ctor::output_system system{ctor::output_system::build}; std::string target; // Output target file for this configuration std::vector<ctor::source> sources; // source list std::vector<std::string> depends; // internal target dependencies @@ -225,7 +225,7 @@ struct external_manual struct external_configuration { std::string name; // Name for configuration - ctor::output_system system{ctor::output_system::host}; + ctor::output_system system{ctor::output_system::build}; std::variant<ctor::external_manual> external; }; |