From 6417a4e6af2b7732ec0da6af24f1a56f7cdada3f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 31 Mar 2016 09:01:50 +0200 Subject: Set part of variable override implementation --- build2/cxx/module.cxx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'build2/cxx/module.cxx') diff --git a/build2/cxx/module.cxx b/build2/cxx/module.cxx index 7b0f04e..aac2af0 100644 --- a/build2/cxx/module.cxx +++ b/build2/cxx/module.cxx @@ -62,24 +62,26 @@ namespace build2 { auto& v (var_pool); - v.find ("config.cxx"); + // @@ OVR - v.find ("config.cxx.poptions"); - v.find ("config.cxx.coptions"); - v.find ("config.cxx.loptions"); - v.find ("config.cxx.libs"); + v.insert ("config.cxx", true); - v.find ("cxx.poptions"); - v.find ("cxx.coptions"); - v.find ("cxx.loptions"); - v.find ("cxx.libs"); + v.insert ("config.cxx.poptions"); + v.insert ("config.cxx.coptions"); + v.insert ("config.cxx.loptions"); + v.insert ("config.cxx.libs"); - v.find ("cxx.export.poptions"); - v.find ("cxx.export.coptions"); - v.find ("cxx.export.loptions"); - v.find ("cxx.export.libs"); + v.insert ("cxx.poptions"); + v.insert ("cxx.coptions"); + v.insert ("cxx.loptions"); + v.insert ("cxx.libs"); - v.find ("cxx.std"); + v.insert ("cxx.export.poptions"); + v.insert ("cxx.export.coptions"); + v.insert ("cxx.export.loptions"); + v.insert ("cxx.export.libs"); + + v.insert ("cxx.std"); } // Register target types. -- cgit v1.1