aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-27 23:06:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-28 20:18:39 +0300
commitd4aef182ebc55091c02659b7549487d928eaec28 (patch)
tree881d1d8bedbc7f88fe22a9437cce6433cfd7122d /libbrep/build.cxx
parent8054f2973d453b71806f52f0bb30725cb31d64dd (diff)
Build packages for different toolchains having same version but different names
Diffstat (limited to 'libbrep/build.cxx')
-rw-r--r--libbrep/build.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbrep/build.cxx b/libbrep/build.cxx
index 8f075dc..45ef678 100644
--- a/libbrep/build.cxx
+++ b/libbrep/build.cxx
@@ -63,12 +63,14 @@ namespace brep
optional<string> afp, optional<string> ach,
string mnm, string msm,
butl::target_triplet trg)
- : id (package_id (move (tnt), move (pnm), pvr), move (cfg), tvr),
+ : id (package_id (move (tnt), move (pnm), pvr),
+ move (cfg),
+ move (tnm), tvr),
tenant (id.package.tenant),
package_name (id.package.name),
package_version (move (pvr)),
configuration (id.configuration),
- toolchain_name (move (tnm)),
+ toolchain_name (id.toolchain_name),
toolchain_version (move (tvr)),
state (build_state::building),
timestamp (timestamp_type::clock::now ()),