diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-22 08:34:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-22 08:34:19 +0200 |
commit | 0e9bf64dadc029bdf3e97ffb982d297eee0499e4 (patch) | |
tree | 9637a45a51e43bc5d1e8ac6bd04de59064b00ec9 | |
parent | d5438fef9c4f00feec3327b6c5086072f392b0d7 (diff) |
Filter out config.install.chroot from default host configuration
-rw-r--r-- | libbuild2/buildfile | 8 |
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...} |