summaryrefslogtreecommitdiff
path: root/Porting/bisect-runner.pl
diff options
context:
space:
mode:
authorPaul Johnson <paul@pjcj.net>2011-11-17 21:20:15 +0100
committerFather Chrysostomos <sprout@cpan.org>2011-11-17 13:16:56 -0800
commit63f9ec3008baf7d655f1b9c0f2c6f81f970c65f0 (patch)
treeb92d11a24fe741bf22b15a486d8668df604207b1 /Porting/bisect-runner.pl
parent2ba3ed0cc50ab0b9ba47218e86872c324f31abd4 (diff)
downloadperl-63f9ec3008baf7d655f1b9c0f2c6f81f970c65f0.tar.gz
Detect whether ccache is available to bisect.
ccache will save time during a bisect but it may not always be availble. Teach bisect-runner.pl to only use it if it is available.
Diffstat (limited to 'Porting/bisect-runner.pl')
-rwxr-xr-xPorting/bisect-runner.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 5896d3a4c0..fea722b32f 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -53,7 +53,7 @@ my %defines =
(
usedevel => '',
optimize => '-g',
- cc => 'ccache cc',
+ cc => (`ccache --version`, $?) ? 'cc' : 'ccache cc',
ld => 'cc',
($linux64 ? (libpth => \@paths) : ()),
);