2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-19 04:02:14 +00:00

Update comment to reflect intended behavior.

Once upon a time the comment reflected what the code did. But when we rewrote the handling of CXX to use --cxx instead we did not change teh comment.

Fixes #471
This commit is contained in:
Rene Rivera
2025-12-20 09:06:14 -06:00
parent 1931091615
commit 96f41c9ea3

View File

@@ -271,8 +271,8 @@ if test_true ${B2_HELP_OPT} ; then
error_exit
fi
# If we have a CXX but no B2_TOOLSET specified by the user we assume they meant
# "cxx" as the toolset.
# If user gave a --cxx option but no B2_TOOLSET specified by the user we assume
# they meant "cxx" as the toolset.
if test "${B2_CXX_OPT}" != "" -a "${B2_TOOLSET}" = "" ; then
B2_TOOLSET=cxx
fi