summaryrefslogtreecommitdiff
path: root/rebuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-23 21:13:39 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-23 21:13:39 +0200
commitf834093a8904a076f248d0f7034b66bbe0a5087f (patch)
tree2b4deb11ecadc54c74fcd6c0ad03c1616e3d2bf6 /rebuild.cc
parentc21a9c55382b930ffeea5042aa7e0dd48b453c4a (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 'rebuild.cc')
-rw-r--r--rebuild.cc2
1 files changed, 1 insertions, 1 deletions
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)
{