Compile with clang by default on linux.

This commit is contained in:
Nicholas Hastings 2013-08-26 23:07:45 -04:00
parent cd68567ce3
commit f6255c72d1

View File

@ -49,12 +49,10 @@ if ($reconf) {
if ($argn > 0 && $^O !~ /MSWin/) {
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py --enable-optimize`;
} else {
if ($^O eq "linux") {
$result = `CC=gcc-4.4 CXX=gcc-4.4 python3 ../build/configure.py --enable-optimize`;
} elsif ($^O eq "darwin") {
$result = `CC=clang CXX=clang python3 ../build/configure.py --enable-optimize`;
} else {
if ($^O =~ /MSWin/) {
$result = `C:\\Python32\\Python.exe ..\\build\\configure.py --enable-optimize`;
} else {
$result = `CC=clang CXX=clang python3 ../build/configure.py --enable-optimize`;
}
}
print "$result\n";