From 0353b231d51ab7ea5ead98ac838e7c2ba1b0df89 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Apr 2021 11:19:28 +0200 Subject: Track changes to environment in cc rules --- libbuild2/config/utility.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbuild2/config/utility.hxx') diff --git a/libbuild2/config/utility.hxx b/libbuild2/config/utility.hxx index 382c22f..8dc0650 100644 --- a/libbuild2/config/utility.hxx +++ b/libbuild2/config/utility.hxx @@ -112,6 +112,8 @@ namespace build2 // directly). The module's load() function is a natural place to do // that. // + // See also build2::hash_environment(). + // inline void save_environment (scope& rs, const string& var) { @@ -146,7 +148,7 @@ namespace build2 } } - // A NULL-terminated list of variables. + // A NULL-terminated list of variables (may itself be NULL). // inline void save_environment (scope& rs, const char* const* vars) -- cgit v1.1