From f834093a8904a076f248d0f7034b66bbe0a5087f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 23 Jun 2021 21:13:39 +0200 Subject: Add configure checks for programs and be more consistent with the use of the phrases build and host systems (inspired by autotools). --- task_ar.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'task_ar.cc') diff --git a/task_ar.cc b/task_ar.cc index a183102..bcaa010 100644 --- a/task_ar.cc +++ b/task_ar.cc @@ -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); -- cgit v1.2.3