From 0e9bf64dadc029bdf3e97ffb982d297eee0499e4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Nov 2019 08:34:19 +0200 Subject: Filter out config.install.chroot from default host configuration --- libbuild2/buildfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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...} -- cgit v1.1