# HG changeset patch # User Scott Ehlert # Date 1400361540 18000 # Node ID d0ea7151b71dce78f779cc02fdac050944bc7ce0 # Parent a883c17f1f8616449fc242d0565a354e0bf073c3 Sync changes from SourceMod's bootstrap script. diff -r a883c17f1f86 -r d0ea7151b71d support/buildbot/bootstrap.pl --- a/support/buildbot/bootstrap.pl Sat May 17 16:11:02 2014 -0500 +++ b/support/buildbot/bootstrap.pl Sat May 17 16:19:00 2014 -0500 @@ -27,20 +27,19 @@ my ($result, $argn); $argn = $#ARGV + 1; print "Attempting to reconfigure...\n"; +my $conf_args = '--enable-optimize --no-color --symbol-files'; if ($argn > 0 && $^O !~ /MSWin/) { - $result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py --enable-optimize`; + $result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`; } else { - if ($^O eq "linux") { - $result = `CC=gcc-4.4 CXX="gcc-4.4 -fno-exceptions -fno-rtti" python ../build/configure.py --enable-optimize`; - } elsif ($^O eq "darwin") { - $result = `CC=clang CXX=clang python ../build/configure.py --enable-optimize`; + if ($^O =~ /MSWin/) { + $result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`; } else { - $result = `C:\\Python27\\Python.exe ..\\build\\configure.py --enable-optimize`; + $result = `CC=clang CXX=clang python ../build/configure.py $conf_args`; } } print "$result\n"; if ($? != 0) { - die('Could not configure!'); + die("Could not configure: $!\n"); } sub IsNewer