]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mingw: Remove obsolete STMP_FIXINC override from t-cygming
authorPeter Damianov <peter0x44@disroot.org>
Sun, 5 Apr 2026 00:41:04 +0000 (01:41 +0100)
committerJonathan Yong <10walls@gmail.com>
Tue, 7 Apr 2026 13:37:52 +0000 (13:37 +0000)
The STMP_FIXINC assignment in t-cygming dates back to
r0-48723-g70e5e841b8b931, which introduced the shared cygwin/mingw
makefile fragment and used it to force fixincludes on for those
targets.

That predates r0-63200-g53c7ffe7dd1c28, which made configure default
STMP_FIXINC to stmp-fixinc, so the t-cygming assignment is now
redundant in normal builds.  Once --disable-fixincludes was added by
r13-2319-gbe9dd80f933480, the old override became incorrect as well,
because it forced stmp-fixinc back on for targets using t-cygming.
Configuring for mingw targets with --disable-fixincludes would then
fail with:

make[1]: No rule to make target
'../build-x86_64-pc-linux-gnu/fixincludes/fixinc.sh', needed by 'stmp-fixinc'.
Stop.

Remove the obsolete assignment so the configure-time default is used,
including when honoring an explicit --disable-fixincludes.

gcc/ChangeLog:

* config/mingw/t-cygming: Remove obsolete STMP_FIXINC
override.

gcc/config/mingw/t-cygming

index be3323d143abf14aff5b42c7962d088a8c0ba72e..4d0f99797c32d4a67eb15bffcfe49d4b65193144 100644 (file)
@@ -61,5 +61,3 @@ msformat-c.o: $(srcdir)/config/mingw/msformat-c.cc $(CONFIG_H) $(SYSTEM_H) \
   $(TM_P_H) $(HASHTAB_H) $(GGC_H)
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
        $(srcdir)/config/mingw/msformat-c.cc
-
-STMP_FIXINC=stmp-fixinc