mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-17 10:54:14 +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');
|
chdir('../../../OUTPUT');
|
||||||
|
|
||||||
|
my $argn = $#ARGV + 1;
|
||||||
|
if ($argn > 0) {
|
||||||
|
$ENV{CC} = $ARGV[0];
|
||||||
|
$ENV{CXX} = $ARGV[0];
|
||||||
|
}
|
||||||
|
|
||||||
system("ambuild --no-color 2>&1");
|
system("ambuild --no-color 2>&1");
|
||||||
|
|
||||||
if ($? != 0)
|
if ($? != 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user