aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 0ab46249f..969d1aa95 100644
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -219,7 +219,9 @@ fetchTool()
selectCXX()
{
if [ "x$CXX" = "x" ]; then
- if which g++-9 >/dev/null 2>&1; then
+ if which g++-10 >/dev/null 2>&1; then
+ CXX=g++-10
+ elif which g++-9 >/dev/null 2>&1; then
CXX=g++-9
elif which g++-8 >/dev/null 2>&1; then
CXX=g++-8