From 75fa198321253e7d14756f50537384807448affd Mon Sep 17 00:00:00 2001 From: Fyren Date: Wed, 27 May 2020 21:18:49 -0400 Subject: [PATCH] Change bootstrap.pl and startbuild.pl to also take CXX. (#1280) --- tools/buildbot/bootstrap.pl | 2 +- tools/buildbot/startbuild.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/buildbot/bootstrap.pl b/tools/buildbot/bootstrap.pl index 79e5d29e..3ccef58d 100755 --- a/tools/buildbot/bootstrap.pl +++ b/tools/buildbot/bootstrap.pl @@ -61,7 +61,7 @@ if ($^O !~ /MSWin/) { my $conf_args = join(' ', @conf_argv); if ($argn > 0 && $^O !~ /MSWin/) { - $result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`; + $result = `CC=$ARGV[0] CXX=$ARGV[1] python ../build/configure.py $conf_args`; } else { if ($^O =~ /MSWin/) { $result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`; diff --git a/tools/buildbot/startbuild.pl b/tools/buildbot/startbuild.pl index 712ae630..3e4bf3b5 100755 --- a/tools/buildbot/startbuild.pl +++ b/tools/buildbot/startbuild.pl @@ -13,7 +13,7 @@ chdir('../../../OUTPUT'); my $argn = $#ARGV + 1; if ($argn > 0) { $ENV{CC} = $ARGV[0]; - $ENV{CXX} = $ARGV[0]; + $ENV{CXX} = $ARGV[1]; } system("ambuild --no-color 2>&1");