diff options
-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; |