Use python3 in bootstrap.
This commit is contained in:
parent
f92e60a8ac
commit
00b769e3f2
|
@ -29,12 +29,12 @@ $argn = $#ARGV + 1;
|
||||||
print "Attempting to reconfigure...\n";
|
print "Attempting to reconfigure...\n";
|
||||||
my $conf_args = '--enable-optimize --no-color --symbol-files';
|
my $conf_args = '--enable-optimize --no-color --symbol-files';
|
||||||
if ($argn > 0 && $^O !~ /MSWin/) {
|
if ($argn > 0 && $^O !~ /MSWin/) {
|
||||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
|
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py $conf_args`;
|
||||||
} else {
|
} else {
|
||||||
if ($^O =~ /MSWin/) {
|
if ($^O =~ /MSWin/) {
|
||||||
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
|
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||||
} else {
|
} else {
|
||||||
$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
|
$result = `CC=clang CXX=clang python3 ../build/configure.py $conf_args`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print "$result\n";
|
print "$result\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user