Compile with clang by default on linux.
This commit is contained in:
parent
cd68567ce3
commit
f6255c72d1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user