https://sourceware.org/bugzilla/show_bug.cgi?id=28969
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=61a1f2e71118206dd700fc1ddf244b2178bf6610 commit 61a1f2e71118206dd700fc1ddf244b2178bf6610 Author: H.J. Lu <hjl.to...@gmail.com> Date: Tue Mar 15 08:56:39 2022 -0700 gprofng: Don't hardcode -Wno-format-truncation/-Wno-switch Use -Wno-format-truncation and -Wno-switch only if they are supported. PR gprof/28969 * configure.ac (GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS): New AC_SUBST for -Wno-format-truncation. (GPROFNG_NO_SWITCH_CFLAGS): New AC_SUBST for -Wno-switch. * Makefile.in: Regenerate. * configure: Likewise. * src/Makefile.am (AM_CFLAGS): Replace -Wno-format-truncation and -Wno-switch with GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS and GPROFNG_NO_SWITCH_CFLAGS. * src/Makefile.in: Regenerate. -- You are receiving this mail because: You are on the CC list for the bug.