summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 959db90f..06e2494c 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -46,7 +46,7 @@ compile_pass (systemtap_session& s)
else
{
// Assumes linux 2.6 kbuild
- o << "CFLAGS += -Werror" << endl;
+ o << "CFLAGS += -Wno-unused -Werror" << endl;
o << "CFLAGS += -I \"" << s.runtime_path << "\"" << endl;
o << "CFLAGS += -I \"" << s.runtime_path << "/relayfs\"" << endl;
o << "obj-m := " << s.module_name << ".o" << endl;