diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-23 21:13:39 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-23 21:13:39 +0200 |
commit | f834093a8904a076f248d0f7034b66bbe0a5087f (patch) | |
tree | 2b4deb11ecadc54c74fcd6c0ad03c1616e3d2bf6 /task_ar.cc | |
parent | c21a9c55382b930ffeea5042aa7e0dd48b453c4a (diff) |
Add configure checks for programs and be more consistent with the use of the phrases build and host systems (inspired by autotools).
Diffstat (limited to 'task_ar.cc')
-rw-r--r-- | task_ar.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -146,12 +146,12 @@ int TaskAR::runInner() std::string tool; switch(outputSystem()) { - case OutputSystem::Target: - tool = getConfiguration(cfg::target_ar, "/usr/bin/ar"); - break; - case OutputSystem::BuildHost: + case OutputSystem::Host: tool = getConfiguration(cfg::host_ar, "/usr/bin/ar"); break; + case OutputSystem::Build: + tool = getConfiguration(cfg::build_ar, "/usr/bin/ar"); + break; } return execute(tool, args, settings.verbose > 0); |