From a9cefbf2d408f0392c33105b63248bf8a59cbd71 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 29 Sep 2009 11:35:18 -0700 Subject: Add -Werror to tracequery build The final module build uses -Werror, so tracequery should as well to catch problems as early as possible. Some ext4 errors have crept in again (PR10703). * buildrun.cxx (make_tracequery): Add -Werror to EXTRA_CFLAGS. --- buildrun.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildrun.cxx') diff --git a/buildrun.cxx b/buildrun.cxx index 86940643..1a349d5f 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -394,7 +394,7 @@ make_tracequery(systemtap_session& s, string& name, string makefile(dir + "/Makefile"); ofstream omf(makefile.c_str()); // force debuginfo generation, and relax implicit functions - omf << "EXTRA_CFLAGS := -g -Wno-implicit-function-declaration" << endl; + omf << "EXTRA_CFLAGS := -g -Wno-implicit-function-declaration -Werror" << endl; omf << "obj-m := " + basename + ".o" << endl; omf.close(); -- cgit