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). --- rebuild.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebuild.cc') diff --git a/rebuild.cc b/rebuild.cc index 0978eb1..b4564de 100644 --- a/rebuild.cc +++ b/rebuild.cc @@ -116,7 +116,7 @@ void recompileCheck(const Settings& settings, int argc, char* argv[], bool force if(dirty) { std::cout << "Rebuilding config\n"; - auto tool = getConfiguration(cfg::host_cpp, "/usr/bin/g++"); + auto tool = getConfiguration(cfg::build_cxx, "/usr/bin/g++"); auto ret = execute(tool, args, settings.verbose > 0); if(ret != 0) { -- cgit v1.2.3