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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <[email protected]>:

https://gcc.gnu.org/g:064601918219d2ca414a49df5aa8c99083471e5e

commit r17-3975-g064601918219d2ca414a49df5aa8c99083471e5e
Author: Gaius Mulley <[email protected]>
Date:   Mon Sep 7 14:26:42 2026 +0100

    PR modula2/126847: Fix make install to avoid rebuilding cc1gm2

    Rewrite many of the build rules to use order-only dependancies when
    encountering generated sources.  The generated sources should not be
    regenerated if header files (such as command line option headers) are
    rebuilt.

    gcc/m2/ChangeLog:

            PR modula2/126847
            * Make-lang.in (TEXILIBSRC): New define.
            (m2/stage1/cc1gm2$(exeext)): Rewrite.
            (m2/gm2-gcc/$(SRC_PREFIX)%.h): Add order-only dependancy.
            (m2/gm2-libs-boot/M2RTS.o): Ditto.
            (m2/gm2-libs-boot/%.o): Ditto.
            (m2/gm2-libs-boot/$(SRC_PREFIX)%.h): Ditto.
            (m2/gm2-libs-boot/RTintdummy.o): Ditto.
            (m2/gm2-libs-boot/wrapc.o): Ditto.
            (m2/gm2-libs-boot/UnixArgs.o): Ditto.
            (m2/gm2-libs-boot/choosetemp.o): Ditto.
            (m2/gm2-libs-boot/errno.o): Ditto.
            (m2/gm2-libs-boot/dtoa.o): Ditto.
            (m2/gm2-libs-boot/ldtoa.o): Ditto.
            (m2/gm2-libs-boot/termios.o): Ditto.
            (m2/gm2-libs-boot/SysExceptions.o): Ditto.
            (m2/gm2-libs-boot/SysStorage.o): Ditto.
            (m2/gm2-libs-boot/Selective.o): Ditto.
            (m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto.
            (m2/gm2-compiler-boot/M2Error.o): Ditto.
            (m2/gm2-compiler-boot/%.o): Ditto.
            (m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto.
            (m2/gm2-compiler-boot/P0SyntaxCheck.c): Ditto.
            (m2/gm2-compiler-boot/P0SyntaxCheck.o): Ditto.
            (m2/gm2-compiler-boot/P1Build.c): Ditto.
            (m2/gm2-compiler-boot/P1Build.o): Ditto.
            (m2/gm2-compiler-boot/P2Build.c): Ditto.
            (m2/gm2-compiler-boot/P2Build.o): Ditto.
            (m2/gm2-compiler-boot/P3Build.c): Ditto.
            (m2/gm2-compiler-boot/P3Build.o): Ditto.
            (m2/gm2-compiler-boot/PCBuild.c): Ditto.
            (m2/gm2-compiler-boot/PCBuild.o): Ditto.
            (m2/gm2-compiler-boot/PHBuild.c): Ditto.
            (m2/gm2-compiler-boot/PHBuild.o): Ditto.
            (m2/gm2-compiler-boot/m2flex.o): Ditto.
            (m2/gm2-libiberty/$(SRC_PREFIX)%.h): Ditto.
            (m2/gm2-compiler/%.o): Ditto.
            (m2/gm2-compiler/m2flex.o): Ditto.
            (m2/gm2-libs/choosetemp.o): Ditto.
            (m2/gm2-libs-boot/libgm2.a): Ditto.
            (m2/gm2-compiler-boot/gm2.a): Ditto.

    Signed-off-by: Gaius Mulley <[email protected]>

Reply via email to