diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-26 07:34:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-26 07:34:15 +0200 |
commit | 8e0e8edb727a5367d991880b033eb13060f4c8eb (patch) | |
tree | 75916dbef9b7a0dc6ef0fa939b9f748fc353d5cc /libbuild2/file.cxx | |
parent | 113c43a42d20073428d46c04a1aa1cb305ea12d7 (diff) |
Make target types project-wide
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r-- | libbuild2/file.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index 7520af2..4eaf854 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -443,8 +443,8 @@ namespace build2 assert (altn && root.root_extra == nullptr); bool a (*altn); - root.root_extra = unique_ptr<scope::root_data> ( - new scope::root_data { + root.root_extra.reset ( + new scope::root_extra_type { a, a ? alt_build_ext : std_build_ext, a ? alt_build_dir : std_build_dir, @@ -460,7 +460,8 @@ namespace build2 {}, /* meta_operations */ {}, /* operations */ {}, /* modules */ - {} /* override_cache */}); + {}, /* override_cache */ + {}} /* target_types */); // Enter built-in meta-operation and operation names. Loading of // modules (via the src bootstrap; see below) can result in |