aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/c/init.cxx2
-rw-r--r--build2/context.cxx2
-rw-r--r--build2/cxx/init.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/build2/c/init.cxx b/build2/c/init.cxx
index d579c90..7d104b0 100644
--- a/build2/c/init.cxx
+++ b/build2/c/init.cxx
@@ -159,7 +159,7 @@ namespace build2
v["cc.type"],
v["cc.system"],
- v.insert<string> ("c.std", true),
+ v.insert<string> ("c.std", false, variable_visibility::project),
v.insert<string> ("c.id"),
v.insert<string> ("c.id.type"),
diff --git a/build2/context.cxx b/build2/context.cxx
index 422ecac..ac972ac 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -230,7 +230,7 @@ namespace build2
//
v.insert ("subprojects");
- v.insert<string> ("extension");
+ v.insert<string> ("extension", false, variable_visibility::project);
}
gs.assign<dir_path> ("build.work") = work;
diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx
index d41978c..9aa30dc 100644
--- a/build2/cxx/init.cxx
+++ b/build2/cxx/init.cxx
@@ -159,7 +159,7 @@ namespace build2
v["cc.type"],
v["cc.system"],
- v.insert<string> ("cxx.std", true),
+ v.insert<string> ("cxx.std", false, variable_visibility::project),
v.insert<string> ("cxx.id"),
v.insert<string> ("cxx.id.type"),