]> sourceware.org Git - systemtap.git/commitdiff
Add -Werror to tracequery build
authorJosh Stone <jistone@redhat.com>
Tue, 29 Sep 2009 18:35:18 +0000 (11:35 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 29 Sep 2009 18:35:18 +0000 (11:35 -0700)
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

index 86940643179abd4b8edd947f6cdf071d0ffa406b..1a349d5fb9bf892b02a9c4221ad1f4e42724ea7d 100644 (file)
@@ -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();
 
This page took 0.028189 seconds and 5 git commands to generate.