aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/init.cxx')
-rw-r--r--build2/cc/init.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/build2/cc/init.cxx b/build2/cc/init.cxx
index 733280a..7669add 100644
--- a/build2/cc/init.cxx
+++ b/build2/cc/init.cxx
@@ -105,8 +105,6 @@ namespace build2
assert (first);
- auto& vp (var_pool.rw (rs));
-
// Load cc.core.vars.
//
if (!cast_false<bool> (rs["cc.core.vars.loaded"]))
@@ -237,28 +235,6 @@ namespace build2
load_module (rs, rs, "bin.rc.config", loc);
}
- // Load (optionally) the pkgconfig module. Note that it registers the
- // pc{} target whether the pkg-config utility is found or not.
- //
- // @@ At some point we may also want to verify that targets matched
- // if it has already been loaded (by someone) else. Currently it
- // doesn't set pkgconfig.target. Perhaps only set if it was used
- // to derive the program name?
- //
- if (!cast_false<bool> (rs["pkgconfig.loaded"]))
- {
- // Prepare configuration hints.
- //
- variable_map h;
-
- // Note that this variable has not yet been registered.
- //
- const variable& t (vp.insert ("config.pkgconfig.target"));
- h.assign (t) = cast<target_triplet> (rs["cc.target"]);
-
- load_module (rs, rs, "pkgconfig", loc, true, h);
- }
-
return true;
}