diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-22 12:55:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-22 12:55:21 +0200 |
commit | 48e2e4140b8e5aacdfd107a1215f21c9632c81c8 (patch) | |
tree | 7897b62300a433533318be5de14f9ba0745da4d8 /build2/bin/guess | |
parent | 3b6f882ce0dae1d80a330b36a63fbe65026a3278 (diff) |
Cache process_path, use fallback search directory for binutils
Diffstat (limited to 'build2/bin/guess')
-rw-r--r-- | build2/bin/guess | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build2/bin/guess b/build2/bin/guess index 540e644..bcf9732 100644 --- a/build2/bin/guess +++ b/build2/bin/guess @@ -30,10 +30,12 @@ namespace build2 // struct ar_info { + process_path ar_path; string ar_id; string ar_signature; string ar_checksum; + process_path ranlib_path; string ranlib_id; string ranlib_signature; string ranlib_checksum; @@ -43,7 +45,7 @@ namespace build2 // attemplated and the returned ranlib_* members will be left empty. // ar_info - guess_ar (const path& ar, const path* ranlib); + guess_ar (const path& ar, const path* ranlib, const dir_path& fallback); // ld information. // @@ -67,13 +69,14 @@ namespace build2 // struct ld_info { + process_path path; string id; string signature; string checksum; }; ld_info - guess_ld (const path& ld); + guess_ld (const path& ld, const dir_path& fallback); // rc information. // @@ -90,13 +93,14 @@ namespace build2 // struct rc_info { + process_path path; string id; string signature; string checksum; }; rc_info - guess_rc (const path& rc); + guess_rc (const path& rc, const dir_path& fallback); } } |