summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm3
1 files changed, 3 insertions, 0 deletions
diff --git a/configpm b/configpm
index 877bff1f30..09b9e67aab 100755
--- a/configpm
+++ b/configpm
@@ -248,6 +248,9 @@ my %seen_quotes;
else {
$quote = $2;
($name,$val) = ($1,$3);
+ if ($name eq 'cc') {
+ $val =~ s{^(['"]?+).*\bccache\s+}{$1};
+ }
}
$in_v = $val !~ /$quote\n/;
next if $in_v;