diff options
author | hunt <hunt> | 2005-07-27 05:52:00 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-07-27 05:52:00 +0000 |
commit | 21ba501044c5436c80cd2f4f0abc8aa6bb135bcb (patch) | |
tree | 87ef78c81e80c8215e045830440582cbabf0cd65 /buildrun.cxx | |
parent | 2dc408207dad62b5c4fa35c187b9c5c4805b9248 (diff) | |
download | systemtap-steved-21ba501044c5436c80cd2f4f0abc8aa6bb135bcb.tar.gz systemtap-steved-21ba501044c5436c80cd2f4f0abc8aa6bb135bcb.tar.xz systemtap-steved-21ba501044c5436c80cd2f4f0abc8aa6bb135bcb.zip |
2005-07-26 Martin Hunt <hunt@redhat.com>
* buildrun.cxx (compile_pass): Add -Wno-unused to CFLAGS because
usually a module doesn't use every function in the runtime.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 2 |
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; |