https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117600

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Christophe Lyon
<cl...@gcc.gnu.org>:

https://gcc.gnu.org/g:ed47725094a2d67822445670b5adb6b1a8cd13de

commit r15-10244-ged47725094a2d67822445670b5adb6b1a8cd13de
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Fri Aug 8 12:55:07 2025 +0000

    aarch64: libgcc: Honor disable-werror [PR117600]

    In commit r15-4417-g71c7b446b98aa5, I made -werror mandatory when
    building libgcc for aarch64.

    While it achieved its goal (make us fix problems unnoticed so far),
    there has a been a lot of debate because it couldn't be disabled
    easily.

    This patch adds support for --enable-werror/--disable-werror in
    libgcc, defaulting to --enable-werror for aarch64.

    Tested on non-bootstrap builds on aarch64-linux-gnu (with
    -Wno-prio-ctor-dtor removed in order to get an error).

    libgcc/ChangeLog:

            PR libgcc/117600
            * Makefile.in (WERROR): New.
            * config/aarch64/t-aarch64: Handle WERROR.
            * configure: Regenerate.
            * configure.ac: Add support for --enable-werror.

    (cherry picked from commit fdc560aaaedfcf4e3a88379856badd7a153f41cf)

Reply via email to