diff --git a/tools/buildbot/bootstrap.pl b/tools/buildbot/bootstrap.pl index 018a95f5..3a30682a 100755 --- a/tools/buildbot/bootstrap.pl +++ b/tools/buildbot/bootstrap.pl @@ -49,12 +49,10 @@ if ($reconf) { if ($argn > 0 && $^O !~ /MSWin/) { $result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py --enable-optimize`; } else { - if ($^O eq "linux") { - $result = `CC=gcc-4.4 CXX=gcc-4.4 python3 ../build/configure.py --enable-optimize`; - } elsif ($^O eq "darwin") { - $result = `CC=clang CXX=clang python3 ../build/configure.py --enable-optimize`; - } else { + if ($^O =~ /MSWin/) { $result = `C:\\Python32\\Python.exe ..\\build\\configure.py --enable-optimize`; + } else { + $result = `CC=clang CXX=clang python3 ../build/configure.py --enable-optimize`; } } print "$result\n";