unless (exists $defines{cc}) {
# If it fails, the heuristic of 63f9ec3008baf7d6 is noisy, and hence
- # confusing. Additionally, it doesn't correctly cope with ccache 2.4
+ # confusing.
# FIXME - really it should be replaced with a proper test of
# "can we build something?" and a helpful diagnostic if we can't.
# For now, simply move it here.
- $defines{cc} = (`ccache --version`, $?) ? 'cc' : 'ccache cc';
+ $defines{cc} = (`ccache -V`, $?) ? 'cc' : 'ccache cc';
}
$j = "-j$j" if $j =~ /\A\d+\z/;