summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-03 11:56:32 -0400
committerDave Brolley <brolley@redhat.com>2009-04-03 11:56:32 -0400
commit8d3854b9f124aa818552d462bd8cbd2577be298e (patch)
treecef962dbca12c088c6acc3edf621d4502b0012e1 /buildrun.cxx
parent2f53f831393d2f0db3d54260c2a7882eff17905c (diff)
parent08dc41a50c508544bc18d384a65a137056a98195 (diff)
downloadsystemtap-steved-8d3854b9f124aa818552d462bd8cbd2577be298e.tar.gz
systemtap-steved-8d3854b9f124aa818552d462bd8cbd2577be298e.tar.xz
systemtap-steved-8d3854b9f124aa818552d462bd8cbd2577be298e.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Conflicts: configure runtime/staprun/staprun_funcs.c
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 949f0859..1eecb3f7 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -51,6 +51,12 @@ run_make_cmd(systemtap_session& s, string& make_cmd)
cerr << "unsetenv failed: " << e << endl;
}
+ // Disable ccache to avoid saving files that will never be reused.
+ // (ccache is useless to us, because our compiler commands always
+ // include the randomized tmpdir path.)
+ // It's not critical if this fails, so the return is ignored.
+ (void) setenv("CCACHE_DISABLE", "1", 0);
+
if (s.verbose > 2)
make_cmd += " V=1";
else if (s.verbose > 1)