aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/guess
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-21 10:04:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-21 10:04:18 +0200
commitd8f26e8402bbe19820545db90394f657ae42e598 (patch)
treea1430c3077de2053ef32013c2eef5e50b840a43a /build2/bin/guess
parentde15b95d09d00821aa23e96a0c3e827689c27a58 (diff)
Save default/hinted ar/ld/rc values as commented out
This way, when we, for example, change the C++ compiler (which hinted these values), they will be automatically adjusted as well.
Diffstat (limited to 'build2/bin/guess')
-rw-r--r--build2/bin/guess7
1 files changed, 3 insertions, 4 deletions
diff --git a/build2/bin/guess b/build2/bin/guess
index 10f337a..540e644 100644
--- a/build2/bin/guess
+++ b/build2/bin/guess
@@ -39,12 +39,11 @@ namespace build2
string ranlib_checksum;
};
- // The ranlib path can be empty, in which case no ranlib guessing will be
- // attemplated and the returned ranlib_* members will be left empty as
- // well.
+ // The ranlib path can be NULL, in which case no ranlib guessing will be
+ // 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);
// ld information.
//