diff --git a/util/check-sources.pl b/util/check-sources.pl index be7f4b401c..66423633da 100644 --- a/util/check-sources.pl +++ b/util/check-sources.pl @@ -249,6 +249,12 @@ comment on the same line as the #include. ================================================================ EOF + # XXX gcc-specific + # Disable builtin memcmp/memcpy/strcmp/strcpy/etc. When they are + # available, gcc won't warn about the lack of a prototype in a header + # file. + $ENV{'EXT_CFLAGS'} = "-Wno-builtin"; + do_dir("", "."); }