aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-20 15:36:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-20 15:36:02 +0200
commit30da2a90b3d433160c06643fb7ca51722fbae6b8 (patch)
tree499bc39fb967b56e8c2b93f64da4cff14f49de9d /libbuild2/cc/module.cxx
parent0353b231d51ab7ea5ead98ac838e7c2ba1b0df89 (diff)
Detect environment changes in ad hoc recipes
Diffstat (limited to 'libbuild2/cc/module.cxx')
-rw-r--r--libbuild2/cc/module.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbuild2/cc/module.cxx b/libbuild2/cc/module.cxx
index 7ef8cd5..98e0451 100644
--- a/libbuild2/cc/module.cxx
+++ b/libbuild2/cc/module.cxx
@@ -216,9 +216,8 @@ namespace build2
// Assign values to variables that describe the compiler.
//
- // @@ TODO: env_checksum.
- //
- rs.assign (x_path) = process_path_ex (xi.path, x_name, xi.checksum);
+ rs.assign (x_path) = process_path_ex (
+ xi.path, x_name, xi.checksum, env_checksum);
const strings& xm (cast<strings> (rs.assign (x_mode) = move (mode)));
rs.assign (x_id) = xi.id.string ();