bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprof/28969] gprofng failed to build with GCC 6


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gprof/28969] gprofng failed to build with GCC 6
Date: Wed, 16 Mar 2022 13:44:41 +0000

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 <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=61a1f2e71118206dd700fc1ddf244b2178bf6610

commit 61a1f2e71118206dd700fc1ddf244b2178bf6610
Author: H.J. Lu <hjl.tools@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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]