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 | |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | buildrun.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 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. + +2005-07-26 Martin Hunt <hunt@redhat.com> + * Makefile.am (stpd_LDFLAGS): Set rpath correclty because otherwise automake doesn't seem to get it right when binaries are in libexec subdirs. (AM_CPPFLAGS): revert. 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; |