summaryrefslogtreecommitdiff
path: root/rebuild.cc
diff options
context:
space:
mode:
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)
{