Force a reconfigure to happen everytime.
This commit is contained in:
parent
a33977c71c
commit
e2eabc7a96
@ -22,25 +22,25 @@ my $reconf = 0;
|
|||||||
if (!(-f 'OUTPUT/.ambuild2/graph') || !(-f 'OUTPUT/.ambuild2/vars')) {
|
if (!(-f 'OUTPUT/.ambuild2/graph') || !(-f 'OUTPUT/.ambuild2/vars')) {
|
||||||
rmtree('OUTPUT');
|
rmtree('OUTPUT');
|
||||||
mkdir('OUTPUT') or die("Failed to create output folder: $!\n");
|
mkdir('OUTPUT') or die("Failed to create output folder: $!\n");
|
||||||
chdir('OUTPUT');
|
}
|
||||||
my ($result, $argn);
|
chdir('OUTPUT');
|
||||||
$argn = $#ARGV + 1;
|
my ($result, $argn);
|
||||||
print "Attempting to reconfigure...\n";
|
$argn = $#ARGV + 1;
|
||||||
my $conf_args = '--enable-optimize --breakpad-dump --no-color';
|
print "Attempting to reconfigure...\n";
|
||||||
if ($argn > 0 && $^O !~ /MSWin/) {
|
my $conf_args = '--enable-optimize --breakpad-dump --no-color';
|
||||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
|
if ($argn > 0 && $^O !~ /MSWin/) {
|
||||||
|
$result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
|
||||||
|
} else {
|
||||||
|
if ($^O =~ /MSWin/) {
|
||||||
|
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||||
} else {
|
} else {
|
||||||
if ($^O =~ /MSWin/) {
|
$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
|
||||||
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
|
|
||||||
} else {
|
|
||||||
$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
print "$result\n";
|
|
||||||
if ($? != 0) {
|
|
||||||
die("Could not configure: $!\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
print "$result\n";
|
||||||
|
if ($? != 0) {
|
||||||
|
die("Could not configure: $!\n");
|
||||||
|
}
|
||||||
|
|
||||||
sub IsNewer
|
sub IsNewer
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user