aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-builtin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/functions-builtin.cxx')
-rw-r--r--libbuild2/functions-builtin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/functions-builtin.cxx b/libbuild2/functions-builtin.cxx
index 4689ac2..2adff38 100644
--- a/libbuild2/functions-builtin.cxx
+++ b/libbuild2/functions-builtin.cxx
@@ -85,6 +85,10 @@ namespace build2
// Return NULL if the environment variable is not set, untyped value
// otherwise.
//
+ // Note that if the build result can be affected by the variable being
+ // queried, then it should be reported with the config.environment
+ // directive.
+ //
// Note that this function is not pure.
//
f.insert ("getenv", false) += [](names name)