From 21ba501044c5436c80cd2f4f0abc8aa6bb135bcb Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 27 Jul 2005 05:52:00 +0000 Subject: 2005-07-26 Martin Hunt * buildrun.cxx (compile_pass): Add -Wno-unused to CFLAGS because usually a module doesn't use every function in the runtime. --- buildrun.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildrun.cxx') 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; -- cgit