aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/buildfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libbuild2/buildfile b/libbuild2/buildfile
index 539e4e6..97b9f26 100644
--- a/libbuild2/buildfile
+++ b/libbuild2/buildfile
@@ -52,7 +52,13 @@ config/cxx{host-config}: config/in{host-config}
# Remove comment lines which could be confused with preprocessor directives
# by some lesser compilers.
#
- host_config = $regex.replace_lines($config.save(), '^ *#.*$', [null], return_lines)
+ # Also filter out config.install.chroot -- we definitely don't want it
+ # carried through.
+ #
+ host_config = $regex.replace_lines($config.save(), \
+ '^ *(#|config.install.chroot).*$', \
+ [null], \
+ return_lines)
}
libul{build2}: dist/{hxx ixx txx cxx}{** -**.test...}