mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Allow passing the compiler name to startbuild.pl for AMB2 reconfigures (r=dvander).
This commit is contained in:
parent
5add250b81
commit
c700ab75d1
@ -10,6 +10,12 @@ require 'helpers.pm';
|
||||
|
||||
chdir('../../../OUTPUT');
|
||||
|
||||
my $argn = $#ARGV + 1;
|
||||
if ($argn > 0) {
|
||||
$ENV{CC} = $ARGV[0];
|
||||
$ENV{CXX} = $ARGV[0];
|
||||
}
|
||||
|
||||
system("ambuild --no-color 2>&1");
|
||||
|
||||
if ($? != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user