From c5fc14f302a4080ad0c6469e78582abb8e9b113f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2015 13:06:49 +0200 Subject: Don't write config.{loaded,configured} special variables to config.build --- build/config/operation.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build') diff --git a/build/config/operation.cxx b/build/config/operation.cxx index cab6520..295a38a 100644 --- a/build/config/operation.cxx +++ b/build/config/operation.cxx @@ -102,6 +102,12 @@ namespace build const variable& var (p.first->first); const value& val (p.first->second); + // Skip special variables. + // + if (var.name == "config.loaded" || + var.name == "config.configured") + continue; + // Warn the user if the value that we are saving differs // from the one they specified on the command line. // -- cgit v1.1