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.
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();