Change bootstrap.pl and startbuild.pl to also take CXX. (#1280)

This commit is contained in:
Fyren 2020-05-27 21:18:49 -04:00 committed by GitHub
parent 49669f6585
commit 75fa198321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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`;

View File

@ -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");