summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-09-29 11:35:18 -0700
committerJosh Stone <jistone@redhat.com>2009-09-29 11:35:18 -0700
commita9cefbf2d408f0392c33105b63248bf8a59cbd71 (patch)
treeb8b03e7b01fbeeb30edc8d572945ce357cede870 /buildrun.cxx
parent7a18a12684f498929b5938ceb18f66b18d2e1fe3 (diff)
downloadsystemtap-steved-a9cefbf2d408f0392c33105b63248bf8a59cbd71.tar.gz
systemtap-steved-a9cefbf2d408f0392c33105b63248bf8a59cbd71.tar.xz
systemtap-steved-a9cefbf2d408f0392c33105b63248bf8a59cbd71.zip
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.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx2
1 files changed, 1 insertions, 1 deletions
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();