From 51ab0a979c5c53defd5eda9fa997b2abfd0d4f7d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Jul 2020 09:05:04 +0200 Subject: Save original compiler path/mode in {c,cxx}.config.path/mode It turns out that when propagating {c,cxx}.config in tests we don't want to propagate any options (such as *.std) that have been folded into our project's mode. --- libbuild2/cxx/init.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/cxx/init.cxx') diff --git a/libbuild2/cxx/init.cxx b/libbuild2/cxx/init.cxx index a43dcb2..8f91b19 100644 --- a/libbuild2/cxx/init.cxx +++ b/libbuild2/cxx/init.cxx @@ -435,6 +435,8 @@ namespace build2 vp.insert ("cxx.path"), vp.insert ("cxx.mode"), + vp.insert ("cxx.config.path"), + vp.insert ("cxx.config.mode"), vp.insert ("cxx.sys_lib_dirs"), vp.insert ("cxx.sys_inc_dirs"), -- cgit v1.1