aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-06 12:34:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-06 12:34:11 +0200
commit2ffd8fecdad3caf7696ea73b8c45e7a060786045 (patch)
tree0b2379c18e9d3be4a8ffa940e3203ca81ccf9fa0
parent679dee2d851a67250e4a24a61da249565d478b9d (diff)
Add note
-rw-r--r--build2/cc/compile-rule.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 443ec35..c85d939 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -2030,6 +2030,11 @@ namespace build2
if (!skip)
{
+ // @@ MODHDR: we write normalized path while the compiler will
+ // look for the original. In particular, this means
+ // that paths with `..` won't work. Maybe write
+ // original for mapping and normalized for our use?
+ //
st.headers++;
dd.expect ("@ '" + hp + "' " + bp);
}