mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Fixed bootstrap script for OS X 10.7 build slave.
This commit is contained in:
parent
12ff1edd6a
commit
8641644a3a
@ -47,12 +47,12 @@ if ($reconf) {
|
|||||||
$argn = $#ARGV + 1;
|
$argn = $#ARGV + 1;
|
||||||
print "Attempting to reconfigure...\n";
|
print "Attempting to reconfigure...\n";
|
||||||
if ($argn > 0 && $^O !~ /MSWin/) {
|
if ($argn > 0 && $^O !~ /MSWin/) {
|
||||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3.1 ../build/configure.py --enable-optimize`;
|
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py --enable-optimize`;
|
||||||
} else {
|
} else {
|
||||||
if ($^O eq "linux") {
|
if ($^O eq "linux") {
|
||||||
$result = `CC=gcc-4.4 CXX=gcc-4.4 python3.1 ../build/configure.py --enable-optimize`;
|
$result = `CC=gcc-4.4 CXX=gcc-4.4 python3 ../build/configure.py --enable-optimize`;
|
||||||
} elsif ($^O eq "darwin") {
|
} elsif ($^O eq "darwin") {
|
||||||
$result = `CC=gcc-4.2 CXX=gcc-4.2 python3.1 ../build/configure.py --enable-optimize`;
|
$result = `CC=clang CXX=clang python3 ../build/configure.py --enable-optimize`;
|
||||||
} else {
|
} else {
|
||||||
$result = `C:\\Python31\\Python.exe ..\\build\\configure.py --enable-optimize`;
|
$result = `C:\\Python31\\Python.exe ..\\build\\configure.py --enable-optimize`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user