Allow passing the compiler name to startbuild.pl for AMB2 reconfigures (r=dvander).
authorScott Ehlert <ds@alliedmods.net>
Wed Dec 11 01:51:44 2013 -0600 (2013-12-11)
changeset 893417a8f47bf35
parent 892 4ce2907b8958
child 894 939272c7a106
Allow passing the compiler name to startbuild.pl for AMB2 reconfigures (r=dvander).
support/buildbot/startbuild.pl
     1.1 --- a/support/buildbot/startbuild.pl	Wed Dec 11 01:01:35 2013 -0600
     1.2 +++ b/support/buildbot/startbuild.pl	Wed Dec 11 01:51:44 2013 -0600
     1.3 @@ -10,6 +10,12 @@
     1.4  
     1.5  chdir('../../../OUTPUT');
     1.6  
     1.7 +my $argn = $#ARGV + 1;
     1.8 +if ($argn > 0) {
     1.9 +	$ENV{CC} = $ARGV[0];
    1.10 +	$ENV{CXX} = $ARGV[0];
    1.11 +}
    1.12 +
    1.13  system("ambuild --no-color 2>&1");
    1.14  
    1.15  if ($? != 0)