summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
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 3673a9b0..803cc91f 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -45,6 +45,12 @@ compile_pass (systemtap_session& s)
if (s.verbose > 2)
o << "CFLAGS += -ftime-report -Q" << endl;
+ // XXX: unfortunately, -save-temps can't work since linux kbuild cwd
+ // is not writeable.
+ //
+ // if (s.keep_tmpdir)
+ // o << "CFLAGS += -fverbose-asm -save-temps" << endl;
+
o << "CFLAGS += -freorder-blocks" << endl; // improve on -Os
// o << "CFLAGS += -fno-unit-at-a-time" << endl;