diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 28a5e2403..280793423 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -219,7 +219,9 @@ fetchTool() selectCXX() { if [ "x$CXX" = "x" ]; then - if which g++-10 >/dev/null 2>&1; then + if which g++-11 >/dev/null 2>&1; then + CXX=g++-11 + elif which g++-10 >/dev/null 2>&1; then CXX=g++-10 elif which g++-9 >/dev/null 2>&1; then CXX=g++-9 |
